diff --git a/A2/Passport/Passport.v11.suo b/A2/Passport/Passport.v11.suo new file mode 100644 index 0000000..d48b1f9 Binary files /dev/null and b/A2/Passport/Passport.v11.suo differ diff --git a/A2/Passport/Passport/bin/Debug/Passport.exe b/A2/Passport/Passport/bin/Debug/Passport.exe index c22f02b..f76676d 100644 Binary files a/A2/Passport/Passport/bin/Debug/Passport.exe and b/A2/Passport/Passport/bin/Debug/Passport.exe differ diff --git a/A2/Passport/Passport/bin/Debug/Passport.pdb b/A2/Passport/Passport/bin/Debug/Passport.pdb index 1afa220..cc67399 100644 Binary files a/A2/Passport/Passport/bin/Debug/Passport.pdb and b/A2/Passport/Passport/bin/Debug/Passport.pdb differ diff --git a/A2/Passport/Passport/bin/Debug/Passport.vshost.exe b/A2/Passport/Passport/bin/Debug/Passport.vshost.exe index 551c0cd..8c84517 100644 Binary files a/A2/Passport/Passport/bin/Debug/Passport.vshost.exe and b/A2/Passport/Passport/bin/Debug/Passport.vshost.exe differ diff --git a/A2/Passport/Passport/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/A2/Passport/Passport/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..47a5358 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/A2/Passport/Passport/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/A2/Passport/Passport/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..ec68be7 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.EmploymentForm.resources b/A2/Passport/Passport/obj/Debug/Passport.EmploymentForm.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.EmploymentForm.resources differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.Form1.resources b/A2/Passport/Passport/obj/Debug/Passport.Form1.resources new file mode 100644 index 0000000..cf4bad6 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.Form1.resources differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.NoNoMessageBox.resources b/A2/Passport/Passport/obj/Debug/Passport.NoNoMessageBox.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.NoNoMessageBox.resources differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.Properties.Resources.resources b/A2/Passport/Passport/obj/Debug/Passport.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.Properties.Resources.resources differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.csproj.FileListAbsolute.txt b/A2/Passport/Passport/obj/Debug/Passport.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..99b64ef --- /dev/null +++ b/A2/Passport/Passport/obj/Debug/Passport.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\bin\Debug\Passport.exe.config +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\bin\Debug\Passport.exe +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\bin\Debug\Passport.pdb +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.EmploymentForm.resources +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.Form1.resources +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.NoNoMessageBox.resources +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.Properties.Resources.resources +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.csproj.GenerateResource.Cache +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.exe +C:\Users\User\Desktop\xxx\prog2015\A2\Passport\Passport\obj\Debug\Passport.pdb diff --git a/A2/Passport/Passport/obj/Debug/Passport.csproj.GenerateResource.Cache b/A2/Passport/Passport/obj/Debug/Passport.csproj.GenerateResource.Cache new file mode 100644 index 0000000..e69348c Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.csproj.GenerateResource.Cache differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.exe b/A2/Passport/Passport/obj/Debug/Passport.exe new file mode 100644 index 0000000..f76676d Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.exe differ diff --git a/A2/Passport/Passport/obj/Debug/Passport.pdb b/A2/Passport/Passport/obj/Debug/Passport.pdb new file mode 100644 index 0000000..cc67399 Binary files /dev/null and b/A2/Passport/Passport/obj/Debug/Passport.pdb differ diff --git a/A2/Passport/Passport/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/A2/Passport/Passport/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/A2/Passport/Passport/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/A2/Passport/Passport/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/A2/Passport/Passport/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/A2/Passport/Passport/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/List/outt.txt b/List/outt.txt index 56a6051..ad151c6 100644 --- a/List/outt.txt +++ b/List/outt.txt @@ -1 +1,4 @@ -1 \ No newline at end of file +A2+A3 https://github.com/outt/prog2015/commit/7976782fd5a108ef50c9df2c8168f41d2f00ac64#commitcomment-10884248 +C1 https://github.com/outt/prog2015/commit/ae3019dd6bc684a25e2243cdfce6d73b309fa2f0#commitcomment-11556351 +D1 https://github.com/outt/prog2015/commit/4a5bc57c6858ec1143e2728eb223854cc5397b71#commitcomment-11556352 +Ожидаемая оценка: 5 diff --git a/artem_labi/A2/A2.sln b/artem_labi/A2/A2.sln new file mode 100644 index 0000000..65cd3ef --- /dev/null +++ b/artem_labi/A2/A2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "A2", "A2\A2.csproj", "{33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/artem_labi/A2/A2.v11.suo b/artem_labi/A2/A2.v11.suo new file mode 100644 index 0000000..e7197bb Binary files /dev/null and b/artem_labi/A2/A2.v11.suo differ diff --git a/artem_labi/A2/A2/A2.csproj b/artem_labi/A2/A2/A2.csproj new file mode 100644 index 0000000..ffe707c --- /dev/null +++ b/artem_labi/A2/A2/A2.csproj @@ -0,0 +1,99 @@ + + + + + Debug + AnyCPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2} + WinExe + Properties + ws + A2 + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + Ex-clubs.cs + + + Form + + + Form1.cs + + + + + + Ex-clubs.cs + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + \ No newline at end of file diff --git a/artem_labi/A2/A2/App.config b/artem_labi/A2/A2/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/artem_labi/A2/A2/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/artem_labi/A2/A2/Ex-clubs.Designer.cs b/artem_labi/A2/A2/Ex-clubs.Designer.cs new file mode 100644 index 0000000..b395972 --- /dev/null +++ b/artem_labi/A2/A2/Ex-clubs.Designer.cs @@ -0,0 +1,175 @@ +namespace ws +{ + partial class FORMA + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.textBox_team = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); + this.label3 = new System.Windows.Forms.Label(); + this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); + this.button12 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(73, 13); + this.label1.TabIndex = 7; + this.label1.Text = "Играл в лиге"; + // + // comboBox3 + // + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Items.AddRange(new object[] { + "Barclays Premier League", + "Liga BBVA", + "Serie A", + "Ligue 1", + "Bundesliga"}); + this.comboBox3.Location = new System.Drawing.Point(12, 25); + this.comboBox3.Name = "comboBox3"; + this.comboBox3.Size = new System.Drawing.Size(121, 21); + this.comboBox3.TabIndex = 10; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(12, 73); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(61, 13); + this.label4.TabIndex = 11; + this.label4.Text = "В команде"; + // + // textBox_team + // + this.textBox_team.Location = new System.Drawing.Point(12, 89); + this.textBox_team.Name = "textBox_team"; + this.textBox_team.Size = new System.Drawing.Size(100, 20); + this.textBox_team.TabIndex = 12; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(12, 137); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(14, 13); + this.label2.TabIndex = 13; + this.label2.Text = "С"; + // + // dateTimePicker1 + // + this.dateTimePicker1.Location = new System.Drawing.Point(12, 153); + this.dateTimePicker1.Name = "dateTimePicker1"; + this.dateTimePicker1.Size = new System.Drawing.Size(200, 20); + this.dateTimePicker1.TabIndex = 14; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(12, 194); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(21, 13); + this.label3.TabIndex = 15; + this.label3.Text = "По"; + // + // dateTimePicker2 + // + this.dateTimePicker2.Location = new System.Drawing.Point(12, 210); + this.dateTimePicker2.Name = "dateTimePicker2"; + this.dateTimePicker2.Size = new System.Drawing.Size(200, 20); + this.dateTimePicker2.TabIndex = 16; + // + // button12 + // + this.button12.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.button12.DialogResult = System.Windows.Forms.DialogResult.OK; + this.button12.Location = new System.Drawing.Point(23, 432); + this.button12.Name = "button12"; + this.button12.Size = new System.Drawing.Size(89, 29); + this.button12.TabIndex = 17; + this.button12.Text = "Принять"; + this.button12.UseVisualStyleBackColor = true; + this.button12.Click += new System.EventHandler(this.button1_Click_1); + // + // button2 + // + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.button2.Location = new System.Drawing.Point(131, 432); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(88, 29); + this.button2.TabIndex = 18; + this.button2.Text = "Отмена"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // FORMA + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(231, 473); + this.Controls.Add(this.button2); + this.Controls.Add(this.button12); + this.Controls.Add(this.dateTimePicker2); + this.Controls.Add(this.label3); + this.Controls.Add(this.dateTimePicker1); + this.Controls.Add(this.label2); + this.Controls.Add(this.textBox_team); + this.Controls.Add(this.label4); + this.Controls.Add(this.comboBox3); + this.Controls.Add(this.label1); + this.Name = "FORMA"; + this.Text = "Ex_clubs"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox textBox_team; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.DateTimePicker dateTimePicker1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.DateTimePicker dateTimePicker2; + private System.Windows.Forms.Button button12; + private System.Windows.Forms.Button button2; + } +} \ No newline at end of file diff --git a/artem_labi/A2/A2/Ex-clubs.cs b/artem_labi/A2/A2/Ex-clubs.cs new file mode 100644 index 0000000..1a326c2 --- /dev/null +++ b/artem_labi/A2/A2/Ex-clubs.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ws +{ + public partial class FORMA : Form + { + public FORMA() + { + InitializeComponent(); + } + + public Add Data { get; set; } + + private void button1_Click_1(object sender, EventArgs e) + { + Data = new Add(); + Data.Combo3 = comboBox3.Text; + Data.Team = textBox_team.Text; + Data.Start = dateTimePicker1.Value; + Data.End = dateTimePicker2.Value; + + } + + private void button2_Click(object sender, EventArgs e) + { + + } + + + } +} diff --git a/artem_labi/A2/A2/Ex-clubs.resx b/artem_labi/A2/A2/Ex-clubs.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/artem_labi/A2/A2/Ex-clubs.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/artem_labi/A2/A2/Form1.Designer.cs b/artem_labi/A2/A2/Form1.Designer.cs new file mode 100644 index 0000000..3ab0b89 --- /dev/null +++ b/artem_labi/A2/A2/Form1.Designer.cs @@ -0,0 +1,278 @@ +namespace ws +{ + partial class Form1 + { + /// + /// Требуется переменная конструктора. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Освободить все используемые ресурсы. + /// + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Код, автоматически созданный конструктором форм Windows + + /// + /// Обязательный метод для поддержки конструктора - не изменяйте + /// содержимое данного метода при помощи редактора кода. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.Text_Box_Surname = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.Text_Box_name = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.Text_Box_Patronymic = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.label7 = new System.Windows.Forms.Label(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.label5 = new System.Windows.Forms.Label(); + this.Date_Birthday = new System.Windows.Forms.DateTimePicker(); + this.label6 = new System.Windows.Forms.Label(); + this.AddItem = new System.Windows.Forms.Button(); + this.RemoveItem = new System.Windows.Forms.Button(); + this.Save = new System.Windows.Forms.Button(); + this.Load = new System.Windows.Forms.Button(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label1.ForeColor = System.Drawing.SystemColors.HotTrack; + this.label1.Location = new System.Drawing.Point(9, 19); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(70, 17); + this.label1.TabIndex = 1; + this.label1.Text = "Фамилия"; + // + // Text_Box_Surname + // + this.Text_Box_Surname.Location = new System.Drawing.Point(12, 39); + this.Text_Box_Surname.Name = "Text_Box_Surname"; + this.Text_Box_Surname.Size = new System.Drawing.Size(118, 20); + this.Text_Box_Surname.TabIndex = 2; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label2.ForeColor = System.Drawing.SystemColors.HotTrack; + this.label2.Location = new System.Drawing.Point(12, 75); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(35, 17); + this.label2.TabIndex = 3; + this.label2.Text = "Имя"; + // + // Text_Box_name + // + this.Text_Box_name.Location = new System.Drawing.Point(12, 95); + this.Text_Box_name.Name = "Text_Box_name"; + this.Text_Box_name.Size = new System.Drawing.Size(118, 20); + this.Text_Box_name.TabIndex = 4; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label3.ForeColor = System.Drawing.SystemColors.HotTrack; + this.label3.Location = new System.Drawing.Point(12, 132); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(71, 17); + this.label3.TabIndex = 5; + this.label3.Text = "Отчество"; + // + // Text_Box_Patronymic + // + this.Text_Box_Patronymic.Location = new System.Drawing.Point(12, 152); + this.Text_Box_Patronymic.Name = "Text_Box_Patronymic"; + this.Text_Box_Patronymic.Size = new System.Drawing.Size(121, 20); + this.Text_Box_Patronymic.TabIndex = 6; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.ForeColor = System.Drawing.SystemColors.WindowText; + this.label4.Location = new System.Drawing.Point(12, 185); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(45, 13); + this.label4.TabIndex = 53; + this.label4.Text = "Амплуа"; + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "Вратарь", + "Защитник", + "Полузащитник", + "Нападающий"}); + this.comboBox1.Location = new System.Drawing.Point(9, 201); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(121, 21); + this.comboBox1.TabIndex = 54; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(9, 242); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(75, 13); + this.label7.TabIndex = 55; + this.label7.Text = "Рабочая нога"; + // + // comboBox2 + // + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Items.AddRange(new object[] { + "Правая", + "Левая"}); + this.comboBox2.Location = new System.Drawing.Point(12, 258); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(121, 21); + this.comboBox2.TabIndex = 56; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label5.Location = new System.Drawing.Point(12, 296); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(111, 17); + this.label5.TabIndex = 57; + this.label5.Text = "Дата рождения"; + // + // Date_Birthday + // + this.Date_Birthday.Location = new System.Drawing.Point(12, 316); + this.Date_Birthday.Name = "Date_Birthday"; + this.Date_Birthday.Size = new System.Drawing.Size(121, 20); + this.Date_Birthday.TabIndex = 58; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label6.Location = new System.Drawing.Point(172, 39); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(105, 17); + this.label6.TabIndex = 60; + this.label6.Text = "Бывшие клубы"; + // + // AddItem + // + this.AddItem.Location = new System.Drawing.Point(175, 261); + this.AddItem.Name = "AddItem"; + this.AddItem.Size = new System.Drawing.Size(82, 25); + this.AddItem.TabIndex = 61; + this.AddItem.Text = "Добавить"; + this.AddItem.UseVisualStyleBackColor = true; + this.AddItem.Click += new System.EventHandler(this.AddItem_Click); + // + // RemoveItem + // + this.RemoveItem.Location = new System.Drawing.Point(263, 261); + this.RemoveItem.Name = "RemoveItem"; + this.RemoveItem.Size = new System.Drawing.Size(82, 25); + this.RemoveItem.TabIndex = 62; + this.RemoveItem.Text = "Убрать"; + this.RemoveItem.UseVisualStyleBackColor = true; + this.RemoveItem.Click += new System.EventHandler(this.RemoveItem_Click); + // + // Save + // + this.Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Save.Location = new System.Drawing.Point(380, 347); + this.Save.Name = "Save"; + this.Save.Size = new System.Drawing.Size(82, 25); + this.Save.TabIndex = 63; + this.Save.Text = "Сохранить"; + this.Save.UseVisualStyleBackColor = true; + this.Save.Click += new System.EventHandler(this.Save_Click); + // + // Load + // + this.Load.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Load.Location = new System.Drawing.Point(468, 347); + this.Load.Name = "Load"; + this.Load.Size = new System.Drawing.Size(82, 25); + this.Load.TabIndex = 64; + this.Load.Text = "Загрузить"; + this.Load.UseVisualStyleBackColor = true; + this.Load.Click += new System.EventHandler(this.Load_Click); + // + // listBox1 + // + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(183, 77); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(367, 147); + this.listBox1.TabIndex = 65; + this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged_1); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(577, 384); + this.Controls.Add(this.listBox1); + this.Controls.Add(this.Load); + this.Controls.Add(this.Save); + this.Controls.Add(this.RemoveItem); + this.Controls.Add(this.AddItem); + this.Controls.Add(this.label6); + this.Controls.Add(this.Date_Birthday); + this.Controls.Add(this.label5); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.label7); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.label4); + this.Controls.Add(this.Text_Box_Patronymic); + this.Controls.Add(this.label3); + this.Controls.Add(this.Text_Box_name); + this.Controls.Add(this.label2); + this.Controls.Add(this.Text_Box_Surname); + this.Controls.Add(this.label1); + this.Name = "Form1"; + this.Text = "Резюме футблиста"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox Text_Box_Surname; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox Text_Box_name; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox Text_Box_Patronymic; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.DateTimePicker Date_Birthday; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Button AddItem; + private System.Windows.Forms.Button RemoveItem; + private System.Windows.Forms.Button Save; + private System.Windows.Forms.Button Load; + private System.Windows.Forms.ListBox listBox1; + } +} + diff --git a/artem_labi/A2/A2/Form1.cs b/artem_labi/A2/A2/Form1.cs new file mode 100644 index 0000000..5d546c2 --- /dev/null +++ b/artem_labi/A2/A2/Form1.cs @@ -0,0 +1,116 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.Xml.Serialization; + +namespace ws +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + + private void Form1_Load(object sender, EventArgs e) + { + + } + + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void Save_Click(object sender, EventArgs e) + { + var sfd = new SaveFileDialog() { Title = "Сохранение данных", Filter = "анкета фуболиста|*.anketa" }; + var result = sfd.ShowDialog(this); + if (result != DialogResult.OK) + return; + + var cd = new klub(); + + cd.Name = Text_Box_name.Text; + cd.Surname = Text_Box_Surname.Text; + cd.Patronymic = Text_Box_Patronymic.Text; + cd.Date = Date_Birthday.Value; + cd.Combo = comboBox1.Text; + cd.Combo2 = comboBox2.Text; + + foreach (Add cn in listBox1.Items) + { + cd.clubs.Add(cn); + } + + var xs = new XmlSerializer(typeof(klub)); + var file = File.Create(sfd.FileName); + xs.Serialize(file, cd); + file.Close(); + + } + + private void Load_Click(object sender, EventArgs e) + { + var ofd = new OpenFileDialog() { Title = "Загрузка данных", Filter = "Показания счётчиков|*.CNDT" }; + var result = ofd.ShowDialog(this); + if (result != DialogResult.OK) + return; + + var xs = new XmlSerializer(typeof(klub)); + var file = File.OpenRead(ofd.FileName); + klub cd = (klub)xs.Deserialize(file); + file.Close(); + + Text_Box_name.Text = cd.Name; + Text_Box_Surname.Text = cd.Surname; + Text_Box_Patronymic.Text = cd.Patronymic; + Date_Birthday.Value = cd.Date; + comboBox1.Text = cd.Combo; + comboBox2.Text = cd.Combo2; + + + for (int index = 0; index < cd.clubs.Count; index++) + { + Add cnt = cd.clubs[index]; + listBox1.Items.Add(cnt); + } + + } + + private void AddItem_Click(object sender, EventArgs e) + { + var form = new FORMA(); + var result = form.ShowDialog(this); + if (result == DialogResult.OK) + { + listBox1.Items.Add(form.Data); + } + + } + + private void RemoveItem_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndices.Count != 0) + { + listBox1.Items.RemoveAt(listBox1.SelectedIndices[0]); + } + } + + + private void listBox1_SelectedIndexChanged_1(object sender, EventArgs e) + { + + } + + } +} diff --git a/artem_labi/A2/A2/Form1.resx b/artem_labi/A2/A2/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/artem_labi/A2/A2/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/artem_labi/A2/A2/Program.cs b/artem_labi/A2/A2/Program.cs new file mode 100644 index 0000000..0dd1121 --- /dev/null +++ b/artem_labi/A2/A2/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ws +{ + static class Program + { + /// + /// Главная точка входа для приложения. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/artem_labi/A2/A2/Properties/AssemblyInfo.cs b/artem_labi/A2/A2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a61c5e6 --- /dev/null +++ b/artem_labi/A2/A2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("A2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("A2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("8dcae969-8b98-4b5f-b5c7-1cf8332f4f64")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/artem_labi/A2/A2/Properties/Resources.Designer.cs b/artem_labi/A2/A2/Properties/Resources.Designer.cs new file mode 100644 index 0000000..11928a3 --- /dev/null +++ b/artem_labi/A2/A2/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.17929 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace ws.Properties { + using System; + + + /// + /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// + // Этот класс создан автоматически классом StronglyTypedResourceBuilder + // с помощью такого средства, как ResGen или Visual Studio. + // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen + // с параметром /str или перестройте свой проект VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ws.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Перезаписывает свойство CurrentUICulture текущего потока для всех + /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/artem_labi/A2/A2/Properties/Resources.resx b/artem_labi/A2/A2/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/artem_labi/A2/A2/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/artem_labi/A2/A2/Properties/Settings.Designer.cs b/artem_labi/A2/A2/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f7bee03 --- /dev/null +++ b/artem_labi/A2/A2/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.17929 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace ws.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/artem_labi/A2/A2/Properties/Settings.settings b/artem_labi/A2/A2/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/artem_labi/A2/A2/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/artem_labi/A2/A2/bin/Debug/A2.exe b/artem_labi/A2/A2/bin/Debug/A2.exe new file mode 100644 index 0000000..008c529 Binary files /dev/null and b/artem_labi/A2/A2/bin/Debug/A2.exe differ diff --git a/artem_labi/A2/A2/bin/Debug/A2.exe.config b/artem_labi/A2/A2/bin/Debug/A2.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/artem_labi/A2/A2/bin/Debug/A2.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/artem_labi/A2/A2/bin/Debug/A2.pdb b/artem_labi/A2/A2/bin/Debug/A2.pdb new file mode 100644 index 0000000..ac561de Binary files /dev/null and b/artem_labi/A2/A2/bin/Debug/A2.pdb differ diff --git a/artem_labi/A2/A2/bin/Debug/A2.vshost.exe b/artem_labi/A2/A2/bin/Debug/A2.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/artem_labi/A2/A2/bin/Debug/A2.vshost.exe differ diff --git a/artem_labi/A2/A2/bin/Debug/A2.vshost.exe.config b/artem_labi/A2/A2/bin/Debug/A2.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/artem_labi/A2/A2/bin/Debug/A2.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/artem_labi/A2/A2/bin/Debug/A2.vshost.exe.manifest b/artem_labi/A2/A2/bin/Debug/A2.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/artem_labi/A2/A2/bin/Debug/A2.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/artem_labi/A2/A2/obj/Debug/A2.csproj.FileListAbsolute.txt b/artem_labi/A2/A2/obj/Debug/A2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d4353bb --- /dev/null +++ b/artem_labi/A2/A2/obj/Debug/A2.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +c:\users\user\documents\visual studio 2012\Projects\A2\A2\bin\Debug\A2.exe.config +c:\users\user\documents\visual studio 2012\Projects\A2\A2\bin\Debug\A2.exe +c:\users\user\documents\visual studio 2012\Projects\A2\A2\bin\Debug\A2.pdb +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.csprojResolveAssemblyReference.cache +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\ws.FORMA.resources +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\ws.Form1.resources +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.csproj.GenerateResource.Cache +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.exe +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.pdb +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\ws.Properties.Resources.resources diff --git a/artem_labi/A2/A2/obj/Debug/A2.csproj.GenerateResource.Cache b/artem_labi/A2/A2/obj/Debug/A2.csproj.GenerateResource.Cache new file mode 100644 index 0000000..b68d489 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/A2.csproj.GenerateResource.Cache differ diff --git a/artem_labi/A2/A2/obj/Debug/A2.csprojResolveAssemblyReference.cache b/artem_labi/A2/A2/obj/Debug/A2.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..4d02622 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/A2.csprojResolveAssemblyReference.cache differ diff --git a/artem_labi/A2/A2/obj/Debug/A2.exe b/artem_labi/A2/A2/obj/Debug/A2.exe new file mode 100644 index 0000000..008c529 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/A2.exe differ diff --git a/artem_labi/A2/A2/obj/Debug/A2.pdb b/artem_labi/A2/A2/obj/Debug/A2.pdb new file mode 100644 index 0000000..ac561de Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/A2.pdb differ diff --git a/artem_labi/A2/A2/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/artem_labi/A2/A2/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..eaec384 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/artem_labi/A2/A2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/artem_labi/A2/A2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..f24cb2e Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/artem_labi/A2/A2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/artem_labi/A2/A2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..a5d1745 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/artem_labi/A2/A2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/artem_labi/A2/A2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/artem_labi/A2/A2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/artem_labi/A2/A2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/artem_labi/A2/A2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/artem_labi/A2/A2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/artem_labi/A2/A2/obj/Debug/ws.FORMA.resources b/artem_labi/A2/A2/obj/Debug/ws.FORMA.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/ws.FORMA.resources differ diff --git a/artem_labi/A2/A2/obj/Debug/ws.Form1.resources b/artem_labi/A2/A2/obj/Debug/ws.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/ws.Form1.resources differ diff --git a/artem_labi/A2/A2/obj/Debug/ws.Properties.Resources.resources b/artem_labi/A2/A2/obj/Debug/ws.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A2/A2/obj/Debug/ws.Properties.Resources.resources differ diff --git a/artem_labi/A2/A2/q.cs b/artem_labi/A2/A2/q.cs new file mode 100644 index 0000000..fbccfee --- /dev/null +++ b/artem_labi/A2/A2/q.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ws +{ + public class klub + { + public klub() + { + clubs = new List(); + } + + public string Name { get; set; } + public string Surname { get; set; } + public string Patronymic { get; set; } + public string Combo { get; set; } + public string Combo2 { get; set; } + + public DateTime Date { get; set; } + public List clubs { get; set; } + } + + public class Add + { + public string Combo3 { get; set; } + public string Team { get; set; } + public DateTime Start { get; set; } + public DateTime End { get; set; } + + public override string ToString() + { + return string.Format("Играл в лиге: {0}, В команде: {1}, С: {2}, По: {3}", Combo3, Team, Start, End); + } + } +} + + diff --git a/artem_labi/A3/A2+A3.sln b/artem_labi/A3/A2+A3.sln new file mode 100644 index 0000000..65cd3ef --- /dev/null +++ b/artem_labi/A3/A2+A3.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "A2", "A2\A2.csproj", "{33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/artem_labi/A3/A2+A3.v11.suo b/artem_labi/A3/A2+A3.v11.suo new file mode 100644 index 0000000..9bcd0fa Binary files /dev/null and b/artem_labi/A3/A2+A3.v11.suo differ diff --git a/artem_labi/A3/A2.v11.suo b/artem_labi/A3/A2.v11.suo new file mode 100644 index 0000000..4076611 Binary files /dev/null and b/artem_labi/A3/A2.v11.suo differ diff --git a/artem_labi/A3/A2/A2.csproj b/artem_labi/A3/A2/A2.csproj new file mode 100644 index 0000000..5732f54 --- /dev/null +++ b/artem_labi/A3/A2/A2.csproj @@ -0,0 +1,129 @@ + + + + + Debug + AnyCPU + {33F8987C-4A0D-47AC-9482-0DBD4B39A4A2} + WinExe + Properties + ws + A2 + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Ex-clubs.cs + + + Form + + + Form1.cs + + + + + + Component + + + XtraReport1.cs + + + Ex-clubs.cs + + + Form1.cs + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + XtraReport1.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + \ No newline at end of file diff --git a/artem_labi/A3/A2/App.config b/artem_labi/A3/A2/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/artem_labi/A3/A2/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/artem_labi/A3/A2/Ex-clubs.Designer.cs b/artem_labi/A3/A2/Ex-clubs.Designer.cs new file mode 100644 index 0000000..b395972 --- /dev/null +++ b/artem_labi/A3/A2/Ex-clubs.Designer.cs @@ -0,0 +1,175 @@ +namespace ws +{ + partial class FORMA + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.textBox_team = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); + this.label3 = new System.Windows.Forms.Label(); + this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); + this.button12 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(73, 13); + this.label1.TabIndex = 7; + this.label1.Text = "Играл в лиге"; + // + // comboBox3 + // + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Items.AddRange(new object[] { + "Barclays Premier League", + "Liga BBVA", + "Serie A", + "Ligue 1", + "Bundesliga"}); + this.comboBox3.Location = new System.Drawing.Point(12, 25); + this.comboBox3.Name = "comboBox3"; + this.comboBox3.Size = new System.Drawing.Size(121, 21); + this.comboBox3.TabIndex = 10; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(12, 73); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(61, 13); + this.label4.TabIndex = 11; + this.label4.Text = "В команде"; + // + // textBox_team + // + this.textBox_team.Location = new System.Drawing.Point(12, 89); + this.textBox_team.Name = "textBox_team"; + this.textBox_team.Size = new System.Drawing.Size(100, 20); + this.textBox_team.TabIndex = 12; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(12, 137); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(14, 13); + this.label2.TabIndex = 13; + this.label2.Text = "С"; + // + // dateTimePicker1 + // + this.dateTimePicker1.Location = new System.Drawing.Point(12, 153); + this.dateTimePicker1.Name = "dateTimePicker1"; + this.dateTimePicker1.Size = new System.Drawing.Size(200, 20); + this.dateTimePicker1.TabIndex = 14; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(12, 194); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(21, 13); + this.label3.TabIndex = 15; + this.label3.Text = "По"; + // + // dateTimePicker2 + // + this.dateTimePicker2.Location = new System.Drawing.Point(12, 210); + this.dateTimePicker2.Name = "dateTimePicker2"; + this.dateTimePicker2.Size = new System.Drawing.Size(200, 20); + this.dateTimePicker2.TabIndex = 16; + // + // button12 + // + this.button12.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.button12.DialogResult = System.Windows.Forms.DialogResult.OK; + this.button12.Location = new System.Drawing.Point(23, 432); + this.button12.Name = "button12"; + this.button12.Size = new System.Drawing.Size(89, 29); + this.button12.TabIndex = 17; + this.button12.Text = "Принять"; + this.button12.UseVisualStyleBackColor = true; + this.button12.Click += new System.EventHandler(this.button1_Click_1); + // + // button2 + // + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.button2.Location = new System.Drawing.Point(131, 432); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(88, 29); + this.button2.TabIndex = 18; + this.button2.Text = "Отмена"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // FORMA + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(231, 473); + this.Controls.Add(this.button2); + this.Controls.Add(this.button12); + this.Controls.Add(this.dateTimePicker2); + this.Controls.Add(this.label3); + this.Controls.Add(this.dateTimePicker1); + this.Controls.Add(this.label2); + this.Controls.Add(this.textBox_team); + this.Controls.Add(this.label4); + this.Controls.Add(this.comboBox3); + this.Controls.Add(this.label1); + this.Name = "FORMA"; + this.Text = "Ex_clubs"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox textBox_team; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.DateTimePicker dateTimePicker1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.DateTimePicker dateTimePicker2; + private System.Windows.Forms.Button button12; + private System.Windows.Forms.Button button2; + } +} \ No newline at end of file diff --git a/artem_labi/A3/A2/Ex-clubs.cs b/artem_labi/A3/A2/Ex-clubs.cs new file mode 100644 index 0000000..1a326c2 --- /dev/null +++ b/artem_labi/A3/A2/Ex-clubs.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ws +{ + public partial class FORMA : Form + { + public FORMA() + { + InitializeComponent(); + } + + public Add Data { get; set; } + + private void button1_Click_1(object sender, EventArgs e) + { + Data = new Add(); + Data.Combo3 = comboBox3.Text; + Data.Team = textBox_team.Text; + Data.Start = dateTimePicker1.Value; + Data.End = dateTimePicker2.Value; + + } + + private void button2_Click(object sender, EventArgs e) + { + + } + + + } +} diff --git a/artem_labi/A3/A2/Ex-clubs.resx b/artem_labi/A3/A2/Ex-clubs.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/artem_labi/A3/A2/Ex-clubs.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/artem_labi/A3/A2/Form1.Designer.cs b/artem_labi/A3/A2/Form1.Designer.cs new file mode 100644 index 0000000..ea4525b --- /dev/null +++ b/artem_labi/A3/A2/Form1.Designer.cs @@ -0,0 +1,291 @@ +namespace ws +{ + partial class Form1 + { + /// + /// Требуется переменная конструктора. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Освободить все используемые ресурсы. + /// + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Код, автоматически созданный конструктором форм Windows + + /// + /// Обязательный метод для поддержки конструктора - не изменяйте + /// содержимое данного метода при помощи редактора кода. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.Text_Box_Surname = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.Text_Box_name = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.Text_Box_Patronymic = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.label7 = new System.Windows.Forms.Label(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.label5 = new System.Windows.Forms.Label(); + this.Date_Birthday = new System.Windows.Forms.DateTimePicker(); + this.label6 = new System.Windows.Forms.Label(); + this.AddItem = new System.Windows.Forms.Button(); + this.RemoveItem = new System.Windows.Forms.Button(); + this.Save = new System.Windows.Forms.Button(); + this.Load = new System.Windows.Forms.Button(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.Print = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label1.ForeColor = System.Drawing.SystemColors.HotTrack; + this.label1.Location = new System.Drawing.Point(9, 19); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(70, 17); + this.label1.TabIndex = 1; + this.label1.Text = "Фамилия"; + // + // Text_Box_Surname + // + this.Text_Box_Surname.Location = new System.Drawing.Point(12, 39); + this.Text_Box_Surname.Name = "Text_Box_Surname"; + this.Text_Box_Surname.Size = new System.Drawing.Size(118, 20); + this.Text_Box_Surname.TabIndex = 2; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label2.ForeColor = System.Drawing.SystemColors.HotTrack; + this.label2.Location = new System.Drawing.Point(12, 75); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(35, 17); + this.label2.TabIndex = 3; + this.label2.Text = "Имя"; + // + // Text_Box_name + // + this.Text_Box_name.Location = new System.Drawing.Point(12, 95); + this.Text_Box_name.Name = "Text_Box_name"; + this.Text_Box_name.Size = new System.Drawing.Size(118, 20); + this.Text_Box_name.TabIndex = 4; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label3.ForeColor = System.Drawing.SystemColors.HotTrack; + this.label3.Location = new System.Drawing.Point(12, 132); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(71, 17); + this.label3.TabIndex = 5; + this.label3.Text = "Отчество"; + // + // Text_Box_Patronymic + // + this.Text_Box_Patronymic.Location = new System.Drawing.Point(12, 152); + this.Text_Box_Patronymic.Name = "Text_Box_Patronymic"; + this.Text_Box_Patronymic.Size = new System.Drawing.Size(121, 20); + this.Text_Box_Patronymic.TabIndex = 6; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.ForeColor = System.Drawing.SystemColors.WindowText; + this.label4.Location = new System.Drawing.Point(12, 185); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(45, 13); + this.label4.TabIndex = 53; + this.label4.Text = "Амплуа"; + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "Вратарь", + "Защитник", + "Полузащитник", + "Нападающий"}); + this.comboBox1.Location = new System.Drawing.Point(9, 201); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(121, 21); + this.comboBox1.TabIndex = 54; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(9, 242); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(75, 13); + this.label7.TabIndex = 55; + this.label7.Text = "Рабочая нога"; + // + // comboBox2 + // + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Items.AddRange(new object[] { + "Правая", + "Левая"}); + this.comboBox2.Location = new System.Drawing.Point(12, 258); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(121, 21); + this.comboBox2.TabIndex = 56; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label5.Location = new System.Drawing.Point(12, 296); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(111, 17); + this.label5.TabIndex = 57; + this.label5.Text = "Дата рождения"; + // + // Date_Birthday + // + this.Date_Birthday.Location = new System.Drawing.Point(12, 316); + this.Date_Birthday.Name = "Date_Birthday"; + this.Date_Birthday.Size = new System.Drawing.Size(121, 20); + this.Date_Birthday.TabIndex = 58; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label6.Location = new System.Drawing.Point(172, 39); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(105, 17); + this.label6.TabIndex = 60; + this.label6.Text = "Бывшие клубы"; + // + // AddItem + // + this.AddItem.Location = new System.Drawing.Point(175, 261); + this.AddItem.Name = "AddItem"; + this.AddItem.Size = new System.Drawing.Size(82, 25); + this.AddItem.TabIndex = 61; + this.AddItem.Text = "Добавить"; + this.AddItem.UseVisualStyleBackColor = true; + this.AddItem.Click += new System.EventHandler(this.AddItem_Click); + // + // RemoveItem + // + this.RemoveItem.Location = new System.Drawing.Point(263, 261); + this.RemoveItem.Name = "RemoveItem"; + this.RemoveItem.Size = new System.Drawing.Size(82, 25); + this.RemoveItem.TabIndex = 62; + this.RemoveItem.Text = "Убрать"; + this.RemoveItem.UseVisualStyleBackColor = true; + this.RemoveItem.Click += new System.EventHandler(this.RemoveItem_Click); + // + // Save + // + this.Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Save.Location = new System.Drawing.Point(380, 347); + this.Save.Name = "Save"; + this.Save.Size = new System.Drawing.Size(82, 25); + this.Save.TabIndex = 63; + this.Save.Text = "Сохранить"; + this.Save.UseVisualStyleBackColor = true; + this.Save.Click += new System.EventHandler(this.Save_Click); + // + // Load + // + this.Load.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Load.Location = new System.Drawing.Point(468, 347); + this.Load.Name = "Load"; + this.Load.Size = new System.Drawing.Size(82, 25); + this.Load.TabIndex = 64; + this.Load.Text = "Загрузить"; + this.Load.UseVisualStyleBackColor = true; + this.Load.Click += new System.EventHandler(this.Load_Click); + // + // listBox1 + // + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(183, 77); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(367, 147); + this.listBox1.TabIndex = 65; + this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged_1); + // + // Print + // + this.Print.Location = new System.Drawing.Point(193, 347); + this.Print.Name = "Print"; + this.Print.Size = new System.Drawing.Size(75, 23); + this.Print.TabIndex = 66; + this.Print.Text = "Печать"; + this.Print.UseVisualStyleBackColor = true; + this.Print.Click += new System.EventHandler(this.Print_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(577, 384); + this.Controls.Add(this.Print); + this.Controls.Add(this.listBox1); + this.Controls.Add(this.Load); + this.Controls.Add(this.Save); + this.Controls.Add(this.RemoveItem); + this.Controls.Add(this.AddItem); + this.Controls.Add(this.label6); + this.Controls.Add(this.Date_Birthday); + this.Controls.Add(this.label5); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.label7); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.label4); + this.Controls.Add(this.Text_Box_Patronymic); + this.Controls.Add(this.label3); + this.Controls.Add(this.Text_Box_name); + this.Controls.Add(this.label2); + this.Controls.Add(this.Text_Box_Surname); + this.Controls.Add(this.label1); + this.Name = "Form1"; + this.Text = "Резюме футблиста"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox Text_Box_Surname; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox Text_Box_name; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox Text_Box_Patronymic; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.DateTimePicker Date_Birthday; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Button AddItem; + private System.Windows.Forms.Button RemoveItem; + private System.Windows.Forms.Button Save; + private System.Windows.Forms.Button Load; + private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button Print; + } +} + diff --git a/artem_labi/A3/A2/Form1.cs b/artem_labi/A3/A2/Form1.cs new file mode 100644 index 0000000..cf52941 --- /dev/null +++ b/artem_labi/A3/A2/Form1.cs @@ -0,0 +1,151 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.Xml.Serialization; +using DevExpress.XtraReports.UI; + +namespace ws +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + + + private void Form1_Load(object sender, EventArgs e) + { + + } + + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void Save_Click(object sender, EventArgs e) + { + var sfd = new SaveFileDialog() { Title = "Сохранение данных", Filter = "анкета фуболиста|*.anketa" }; + var result = sfd.ShowDialog(this); + if (result != DialogResult.OK) + return; + + var cd = new klub(); + + cd.Name = Text_Box_name.Text; + cd.Surname = Text_Box_Surname.Text; + cd.Patronymic = Text_Box_Patronymic.Text; + cd.Date = Date_Birthday.Value; + cd.Combo = comboBox1.Text; + cd.Combo2 = comboBox2.Text; + + foreach (Add cn in listBox1.Items) + { + cd.clubs.Add(cn); + } + + var xs = new XmlSerializer(typeof(klub)); + var file = File.Create(sfd.FileName); + xs.Serialize(file, cd); + file.Close(); + + } + + private void Load_Click(object sender, EventArgs e) + { + var ofd = new OpenFileDialog() { Title = "Загрузка данных", Filter = "Показания счётчиков|*.CNDT" }; + var result = ofd.ShowDialog(this); + if (result != DialogResult.OK) + return; + + var xs = new XmlSerializer(typeof(klub)); + var file = File.OpenRead(ofd.FileName); + klub cd = (klub)xs.Deserialize(file); + file.Close(); + + Text_Box_name.Text = cd.Name; + Text_Box_Surname.Text = cd.Surname; + Text_Box_Patronymic.Text = cd.Patronymic; + Date_Birthday.Value = cd.Date; + comboBox1.Text = cd.Combo; + comboBox2.Text = cd.Combo2; + + + for (int index = 0; index < cd.clubs.Count; index++) + { + Add cnt = cd.clubs[index]; + listBox1.Items.Add(cnt); + } + + } + + public klub qwe() + { + var cd = new klub(); + + cd.Name = Text_Box_name.Text; + cd.Surname = Text_Box_Surname.Text; + cd.Patronymic = Text_Box_Patronymic.Text; + cd.Date = Date_Birthday.Value; + cd.Combo = comboBox1.Text; + cd.Combo2 = comboBox2.Text; + + foreach (Add cn in listBox1.Items) + { + cd.clubs.Add(cn); + } + return cd; + } + + private void AddItem_Click(object sender, EventArgs e) + { + var form = new FORMA(); + var result = form.ShowDialog(this); + if (result == DialogResult.OK) + { + listBox1.Items.Add(form.Data); + } + + } + + private void RemoveItem_Click(object sender, EventArgs e) + { + if (listBox1.SelectedIndices.Count != 0) + { + listBox1.Items.RemoveAt(listBox1.SelectedIndices[0]); + } + } + + + private void listBox1_SelectedIndexChanged_1(object sender, EventArgs e) + { + + } + + private void Print_Click(object sender, EventArgs e) + { + var rpt = new ReportPrintTool(new XtraReport1() + { + DataSource = new BindingSource() + { + DataSource = qwe() + } + }); + + rpt.Report.CreateDocument(false); + rpt.ShowPreview(); + + } + + } +} diff --git a/artem_labi/A3/A2/Form1.resx b/artem_labi/A3/A2/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/artem_labi/A3/A2/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/artem_labi/A3/A2/Program.cs b/artem_labi/A3/A2/Program.cs new file mode 100644 index 0000000..0dd1121 --- /dev/null +++ b/artem_labi/A3/A2/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ws +{ + static class Program + { + /// + /// Главная точка входа для приложения. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/artem_labi/A3/A2/Properties/AssemblyInfo.cs b/artem_labi/A3/A2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a61c5e6 --- /dev/null +++ b/artem_labi/A3/A2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("A2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("A2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("8dcae969-8b98-4b5f-b5c7-1cf8332f4f64")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/artem_labi/A3/A2/Properties/DataSources/klub.datasource b/artem_labi/A3/A2/Properties/DataSources/klub.datasource new file mode 100644 index 0000000..dec7441 --- /dev/null +++ b/artem_labi/A3/A2/Properties/DataSources/klub.datasource @@ -0,0 +1,10 @@ + + + + ws.klub, A2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/artem_labi/A3/A2/Properties/Resources.Designer.cs b/artem_labi/A3/A2/Properties/Resources.Designer.cs new file mode 100644 index 0000000..11928a3 --- /dev/null +++ b/artem_labi/A3/A2/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.17929 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace ws.Properties { + using System; + + + /// + /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// + // Этот класс создан автоматически классом StronglyTypedResourceBuilder + // с помощью такого средства, как ResGen или Visual Studio. + // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen + // с параметром /str или перестройте свой проект VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ws.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Перезаписывает свойство CurrentUICulture текущего потока для всех + /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/artem_labi/A3/A2/Properties/Resources.resx b/artem_labi/A3/A2/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/artem_labi/A3/A2/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/artem_labi/A3/A2/Properties/Settings.Designer.cs b/artem_labi/A3/A2/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f7bee03 --- /dev/null +++ b/artem_labi/A3/A2/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.17929 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace ws.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/artem_labi/A3/A2/Properties/Settings.settings b/artem_labi/A3/A2/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/artem_labi/A3/A2/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/artem_labi/A3/A2/Properties/licenses.licx b/artem_labi/A3/A2/Properties/licenses.licx new file mode 100644 index 0000000..b378779 --- /dev/null +++ b/artem_labi/A3/A2/Properties/licenses.licx @@ -0,0 +1 @@ +DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v14.2, Version=14.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a diff --git a/artem_labi/A3/A2/ReportPrintTool.cs b/artem_labi/A3/A2/ReportPrintTool.cs new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/artem_labi/A3/A2/ReportPrintTool.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/artem_labi/A3/A2/XtraReport1.Designer.cs b/artem_labi/A3/A2/XtraReport1.Designer.cs new file mode 100644 index 0000000..c6f7f59 --- /dev/null +++ b/artem_labi/A3/A2/XtraReport1.Designer.cs @@ -0,0 +1,418 @@ +namespace ws +{ + partial class XtraReport1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); + this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.directorySearcher1 = new System.DirectoryServices.DirectorySearcher(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.Detail.Expanded = false; + this.Detail.HeightF = 25F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseBorders = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // TopMargin + // + this.TopMargin.HeightF = 100F; + this.TopMargin.Name = "TopMargin"; + this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // BottomMargin + // + this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel11}); + this.BottomMargin.HeightF = 570F; + this.BottomMargin.Name = "BottomMargin"; + this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel19, + this.xrLabel10, + this.xrLabel9, + this.xrLabel8, + this.xrLabel7, + this.xrLabel6, + this.xrLabel5, + this.xrLabel4, + this.xrLabel3, + this.xrLabel1}); + this.ReportHeader.HeightF = 175.1667F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrLabel19 + // + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(187.5F, 144.1667F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(212.7232F, 23F); + this.xrLabel19.Text = "в связи с моими успехами"; + // + // xrLabel10 + // + this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(187.5F, 121.1667F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(246.0565F, 23.00002F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Прошу подписать со мной контракт"; + // + // xrLabel9 + // + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(318.9731F, 79.00003F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel9.Text = "Год рождения:"; + // + // xrLabel8 + // + this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Date", "{0:dd.MM.yyyy}")}); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(418.9732F, 79.00003F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(100F, 23F); + // + // xrLabel7 + // + this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Patronymic")}); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(364.5834F, 56.00001F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(142.7083F, 23F); + // + // xrLabel6 + // + this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")}); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(318.9731F, 56.00001F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(45.61023F, 23F); + // + // xrLabel5 + // + this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Surname")}); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(346.875F, 33.00002F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(100F, 23F); + // + // xrLabel4 + // + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(318.9731F, 33.00002F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(17.70834F, 23F); + this.xrLabel4.Text = "от"; + // + // xrLabel3 + // + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(461.4583F, 10.00001F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel3.Text = "\"Барселона\""; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(318.9731F, 10.00001F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(142.4852F, 23F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "В футбольную команду \r\n"; + // + // directorySearcher1 + // + this.directorySearcher1.ClientTimeout = System.TimeSpan.Parse("-00:00:01"); + this.directorySearcher1.ServerPageTimeLimit = System.TimeSpan.Parse("-00:00:01"); + this.directorySearcher1.ServerTimeLimit = System.TimeSpan.Parse("-00:00:01"); + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.GroupHeader1}); + this.DetailReport.DataMember = "clubs"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable2}); + this.Detail1.HeightF = 25F; + this.Detail1.Name = "Detail1"; + // + // xrTable2 + // + this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTable2.SizeF = new System.Drawing.SizeF(650F, 25F); + this.xrTable2.StylePriority.UseBorders = false; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell5, + this.xrTableCell6, + this.xrTableCell7, + this.xrTableCell8}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 11.5D; + // + // xrTableCell5 + // + this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "clubs.Combo3")}); + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.StylePriority.UseBorders = false; + this.xrTableCell5.Weight = 0.4D; + // + // xrTableCell6 + // + this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "clubs.Start", "{0:dd.MM.yyyy}")}); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Weight = 0.4D; + // + // xrTableCell7 + // + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "clubs.End", "{0:dd.MM.yyyy}")}); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Weight = 0.4D; + // + // xrTableCell8 + // + this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "clubs.Team")}); + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Weight = 0.4D; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, + this.xrTable1}); + this.GroupHeader1.HeightF = 100F; + this.GroupHeader1.Name = "GroupHeader1"; + // + // xrLabel2 + // + this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(217.9315F, 21.83329F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(201.0416F, 23F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.Text = "История карьеры"; + // + // xrTable1 + // + this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 75F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1}); + this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 25F); + this.xrTable1.StylePriority.UseBorders = false; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1, + this.xrTableCell2, + this.xrTableCell3, + this.xrTableCell4}); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.Weight = 11.5D; + // + // xrTableCell1 + // + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Text = "Лига"; + this.xrTableCell1.Weight = 0.4D; + // + // xrTableCell2 + // + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Text = "С"; + this.xrTableCell2.Weight = 0.4D; + // + // xrTableCell3 + // + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Text = "До"; + this.xrTableCell3.Weight = 0.4D; + // + // xrTableCell4 + // + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Text = "Команда"; + this.xrTableCell4.Weight = 0.4D; + // + // ReportFooter + // + this.ReportFooter.HeightF = 46.875F; + this.ReportFooter.Name = "ReportFooter"; + // + // xrLabel11 + // + this.xrLabel11.Font = new System.Drawing.Font("Times New Roman", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(202.0833F, 498.875F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(259.375F, 23F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.Text = "ЕКАТЕРИНБУРГ 2015"; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(ws.klub); + // + // XtraReport1 + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.TopMargin, + this.BottomMargin, + this.ReportHeader, + this.DetailReport, + this.ReportFooter}); + this.DataSource = this.bindingSource1; + this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 570); + this.Version = "14.2"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private DevExpress.XtraReports.UI.TopMarginBand TopMargin; + private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private System.DirectoryServices.DirectorySearcher directorySearcher1; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel19; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.DetailBand Detail1; + private DevExpress.XtraReports.UI.XRTable xrTable2; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRTable xrTable1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + } +} diff --git a/artem_labi/A3/A2/XtraReport1.cs b/artem_labi/A3/A2/XtraReport1.cs new file mode 100644 index 0000000..06d866a --- /dev/null +++ b/artem_labi/A3/A2/XtraReport1.cs @@ -0,0 +1,17 @@ +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using DevExpress.XtraReports.UI; + +namespace ws +{ + public partial class XtraReport1 : DevExpress.XtraReports.UI.XtraReport + { + public XtraReport1() + { + InitializeComponent(); + } + + } +} diff --git a/artem_labi/A3/A2/XtraReport1.resx b/artem_labi/A3/A2/XtraReport1.resx new file mode 100644 index 0000000..e12f404 --- /dev/null +++ b/artem_labi/A3/A2/XtraReport1.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 17, 56 + + \ No newline at end of file diff --git a/artem_labi/A3/A2/bin/Debug/A2.exe b/artem_labi/A3/A2/bin/Debug/A2.exe new file mode 100644 index 0000000..71b0926 Binary files /dev/null and b/artem_labi/A3/A2/bin/Debug/A2.exe differ diff --git a/artem_labi/A3/A2/bin/Debug/A2.exe.config b/artem_labi/A3/A2/bin/Debug/A2.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/artem_labi/A3/A2/bin/Debug/A2.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/artem_labi/A3/A2/bin/Debug/A2.pdb b/artem_labi/A3/A2/bin/Debug/A2.pdb new file mode 100644 index 0000000..327c00e Binary files /dev/null and b/artem_labi/A3/A2/bin/Debug/A2.pdb differ diff --git a/artem_labi/A3/A2/bin/Debug/A2.vshost.exe b/artem_labi/A3/A2/bin/Debug/A2.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/artem_labi/A3/A2/bin/Debug/A2.vshost.exe differ diff --git a/artem_labi/A3/A2/bin/Debug/A2.vshost.exe.config b/artem_labi/A3/A2/bin/Debug/A2.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/artem_labi/A3/A2/bin/Debug/A2.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/artem_labi/A3/A2/bin/Debug/A2.vshost.exe.manifest b/artem_labi/A3/A2/bin/Debug/A2.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/artem_labi/A3/A2/bin/Debug/A2.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/artem_labi/A3/A2/obj/Debug/A2.csproj.FileListAbsolute.txt b/artem_labi/A3/A2/obj/Debug/A2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..179662a --- /dev/null +++ b/artem_labi/A3/A2/obj/Debug/A2.csproj.FileListAbsolute.txt @@ -0,0 +1,45 @@ +c:\users\user\documents\visual studio 2012\Projects\A2\A2\bin\Debug\A2.exe.config +c:\users\user\documents\visual studio 2012\Projects\A2\A2\bin\Debug\A2.exe +c:\users\user\documents\visual studio 2012\Projects\A2\A2\bin\Debug\A2.pdb +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.csprojResolveAssemblyReference.cache +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\ws.FORMA.resources +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\ws.Form1.resources +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.csproj.GenerateResource.Cache +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.exe +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\A2.pdb +c:\users\user\documents\visual studio 2012\Projects\A2\A2\obj\Debug\ws.Properties.Resources.resources +C:\Users\User\Desktop\A2\A2\bin\Debug\A2.exe.config +C:\Users\User\Desktop\A2\A2\obj\Debug\A2.exe +C:\Users\User\Desktop\A2\A2\obj\Debug\A2.pdb +C:\Users\User\Desktop\A2\A2\bin\Debug\A2.exe +C:\Users\User\Desktop\A2\A2\bin\Debug\A2.pdb +C:\Users\User\Desktop\A2\A2\obj\Debug\A2.csprojResolveAssemblyReference.cache +C:\Users\User\Desktop\A2\A2\obj\Debug\ws.FORMA.resources +C:\Users\User\Desktop\A2\A2\obj\Debug\ws.Form1.resources +C:\Users\User\Desktop\A2\A2\obj\Debug\ws.Properties.Resources.resources +C:\Users\User\Desktop\A2\A2\obj\Debug\A2.csproj.GenerateResource.Cache +C:\Users\User\Desktop\A2\A2\obj\Debug\A2.exe.licenses +C:\Users\User\Desktop\a3\A2\bin\Debug\A2.exe.config +C:\Users\User\Desktop\a3\A2\obj\Debug\A2.exe +C:\Users\User\Desktop\a3\A2\obj\Debug\A2.pdb +C:\Users\User\Desktop\a3\A2\bin\Debug\A2.exe +C:\Users\User\Desktop\a3\A2\bin\Debug\A2.pdb +C:\Users\User\Desktop\a3\A2\obj\Debug\A2.csprojResolveAssemblyReference.cache +C:\Users\User\Desktop\a3\A2\obj\Debug\ws.FORMA.resources +C:\Users\User\Desktop\a3\A2\obj\Debug\ws.Form1.resources +C:\Users\User\Desktop\a3\A2\obj\Debug\ws.Properties.Resources.resources +C:\Users\User\Desktop\a3\A2\obj\Debug\ws.XtraReport1.resources +C:\Users\User\Desktop\a3\A2\obj\Debug\A2.csproj.GenerateResource.Cache +C:\Users\User\Desktop\a3\A2\obj\Debug\A2.exe.licenses +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\bin\Debug\A2.exe.config +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\A2.exe +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\A2.pdb +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\bin\Debug\A2.exe +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\bin\Debug\A2.pdb +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\A2.csprojResolveAssemblyReference.cache +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\ws.FORMA.resources +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\ws.Form1.resources +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\ws.Properties.Resources.resources +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\ws.XtraReport1.resources +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\A2.csproj.GenerateResource.Cache +C:\Users\User\Desktop\xxx\prog2015\artem_labi\A3\A2\obj\Debug\A2.exe.licenses diff --git a/artem_labi/A3/A2/obj/Debug/A2.csproj.GenerateResource.Cache b/artem_labi/A3/A2/obj/Debug/A2.csproj.GenerateResource.Cache new file mode 100644 index 0000000..629706e Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/A2.csproj.GenerateResource.Cache differ diff --git a/artem_labi/A3/A2/obj/Debug/A2.csprojResolveAssemblyReference.cache b/artem_labi/A3/A2/obj/Debug/A2.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..e3810e2 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/A2.csprojResolveAssemblyReference.cache differ diff --git a/artem_labi/A3/A2/obj/Debug/A2.exe b/artem_labi/A3/A2/obj/Debug/A2.exe new file mode 100644 index 0000000..71b0926 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/A2.exe differ diff --git a/artem_labi/A3/A2/obj/Debug/A2.pdb b/artem_labi/A3/A2/obj/Debug/A2.pdb new file mode 100644 index 0000000..327c00e Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/A2.pdb differ diff --git a/artem_labi/A3/A2/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/artem_labi/A3/A2/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..b0d0210 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/artem_labi/A3/A2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/artem_labi/A3/A2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..cc67ffd Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/artem_labi/A3/A2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/artem_labi/A3/A2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..a5d1745 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/artem_labi/A3/A2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/artem_labi/A3/A2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/artem_labi/A3/A2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/artem_labi/A3/A2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/artem_labi/A3/A2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/artem_labi/A3/A2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/artem_labi/A3/A2/obj/Debug/a2.exe.licenses b/artem_labi/A3/A2/obj/Debug/a2.exe.licenses new file mode 100644 index 0000000..05a6331 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/a2.exe.licenses differ diff --git a/artem_labi/A3/A2/obj/Debug/ws.FORMA.resources b/artem_labi/A3/A2/obj/Debug/ws.FORMA.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/ws.FORMA.resources differ diff --git a/artem_labi/A3/A2/obj/Debug/ws.Form1.resources b/artem_labi/A3/A2/obj/Debug/ws.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/ws.Form1.resources differ diff --git a/artem_labi/A3/A2/obj/Debug/ws.Properties.Resources.resources b/artem_labi/A3/A2/obj/Debug/ws.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/ws.Properties.Resources.resources differ diff --git a/artem_labi/A3/A2/obj/Debug/ws.XtraReport1.resources b/artem_labi/A3/A2/obj/Debug/ws.XtraReport1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/artem_labi/A3/A2/obj/Debug/ws.XtraReport1.resources differ diff --git a/artem_labi/A3/A2/q.cs b/artem_labi/A3/A2/q.cs new file mode 100644 index 0000000..fbccfee --- /dev/null +++ b/artem_labi/A3/A2/q.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ws +{ + public class klub + { + public klub() + { + clubs = new List(); + } + + public string Name { get; set; } + public string Surname { get; set; } + public string Patronymic { get; set; } + public string Combo { get; set; } + public string Combo2 { get; set; } + + public DateTime Date { get; set; } + public List clubs { get; set; } + } + + public class Add + { + public string Combo3 { get; set; } + public string Team { get; set; } + public DateTime Start { get; set; } + public DateTime End { get; set; } + + public override string ToString() + { + return string.Format("Играл в лиге: {0}, В команде: {1}, С: {2}, По: {3}", Combo3, Team, Start, End); + } + } +} + +