формы получше

This commit is contained in:
frog24 2024-05-09 03:38:58 +04:00
parent 59c749647d
commit 22c4e83c94
14 changed files with 158 additions and 158 deletions

View File

@ -40,7 +40,7 @@
//
// textBoxDuration
//
textBoxDuration.Location = new Point(160, 82);
textBoxDuration.Location = new Point(160, 87);
textBoxDuration.Margin = new Padding(3, 2, 3, 2);
textBoxDuration.Name = "textBoxDuration";
textBoxDuration.Size = new Size(259, 23);
@ -49,7 +49,7 @@
// label4
//
label4.AutoSize = true;
label4.Location = new Point(12, 85);
label4.Location = new Point(10, 90);
label4.Name = "label4";
label4.Size = new Size(142, 15);
label4.TabIndex = 27;
@ -58,7 +58,7 @@
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 47);
label2.Location = new Point(10, 50);
label2.Name = "label2";
label2.Size = new Size(102, 15);
label2.TabIndex = 25;
@ -66,10 +66,10 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(337, 126);
buttonCancel.Location = new Point(320, 125);
buttonCancel.Margin = new Padding(3, 2, 3, 2);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(82, 22);
buttonCancel.Size = new Size(100, 30);
buttonCancel.TabIndex = 24;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -77,10 +77,10 @@
//
// buttonSave
//
buttonSave.Location = new Point(220, 126);
buttonSave.Location = new Point(210, 125);
buttonSave.Margin = new Padding(3, 2, 3, 2);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(82, 22);
buttonSave.Size = new Size(100, 30);
buttonSave.TabIndex = 23;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -89,7 +89,7 @@
// label1
//
label1.AutoSize = true;
label1.Location = new Point(12, 9);
label1.Location = new Point(10, 10);
label1.Name = "label1";
label1.Size = new Size(59, 15);
label1.TabIndex = 22;
@ -106,7 +106,7 @@
//
// dateTimePicker1
//
dateTimePicker1.Location = new Point(160, 41);
dateTimePicker1.Location = new Point(160, 44);
dateTimePicker1.Name = "dateTimePicker1";
dateTimePicker1.Size = new Size(259, 23);
dateTimePicker1.TabIndex = 29;
@ -115,7 +115,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(449, 166);
ClientSize = new Size(444, 161);
Controls.Add(dateTimePicker1);
Controls.Add(textBoxDuration);
Controls.Add(label4);

View File

@ -77,7 +77,7 @@ namespace DepartmentStaffView
textBoxDuration.Text = db.GetContract(ContractId.Value).Duration.ToString();
dateTimePicker1.Value = db.GetContract(ContractId.Value).DateOfConclusion;
comboBoxEmployee.SelectedValue = db.GetContract(ContractId.Value).EmployeeId;
}
}
}
catch (Exception ex)
{

View File

@ -37,9 +37,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(530, 117);
buttonDelete.Location = new Point(520, 110);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(75, 23);
buttonDelete.Size = new Size(100, 30);
buttonDelete.TabIndex = 12;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -47,9 +47,9 @@
//
// buttonгUpdate
//
buttonгUpdate.Location = new Point(530, 61);
buttonгUpdate.Location = new Point(520, 60);
buttonгUpdate.Name = "buttonгUpdate";
buttonгUpdate.Size = new Size(75, 23);
buttonгUpdate.Size = new Size(100, 30);
buttonгUpdate.TabIndex = 11;
buttonгUpdate.Text = "Обновить";
buttonгUpdate.UseVisualStyleBackColor = true;
@ -57,9 +57,9 @@
//
// buttonCreate
//
buttonCreate.Location = new Point(530, 12);
buttonCreate.Location = new Point(520, 10);
buttonCreate.Name = "buttonCreate";
buttonCreate.Size = new Size(75, 23);
buttonCreate.Size = new Size(100, 30);
buttonCreate.TabIndex = 10;
buttonCreate.Text = "Добавить";
buttonCreate.UseVisualStyleBackColor = true;
@ -68,19 +68,19 @@
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(12, 11);
dataGridView1.Location = new Point(10, 10);
dataGridView1.Margin = new Padding(3, 2, 3, 2);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowHeadersWidth = 51;
dataGridView1.RowTemplate.Height = 29;
dataGridView1.Size = new Size(477, 320);
dataGridView1.Size = new Size(500, 330);
dataGridView1.TabIndex = 9;
//
// FormContracts
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(642, 350);
ClientSize = new Size(634, 351);
Controls.Add(buttonDelete);
Controls.Add(buttonгUpdate);
Controls.Add(buttonCreate);

View File

@ -38,23 +38,23 @@
//
// dateTimePicker1
//
dateTimePicker1.Location = new Point(160, 3);
dateTimePicker1.Location = new Point(143, 4);
dateTimePicker1.Name = "dateTimePicker1";
dateTimePicker1.Size = new Size(259, 23);
dateTimePicker1.Size = new Size(276, 23);
dateTimePicker1.TabIndex = 37;
//
// textBoxDuration
//
textBoxDuration.Location = new Point(160, 44);
textBoxDuration.Location = new Point(143, 44);
textBoxDuration.Margin = new Padding(3, 2, 3, 2);
textBoxDuration.Name = "textBoxDuration";
textBoxDuration.Size = new Size(259, 23);
textBoxDuration.Size = new Size(276, 23);
textBoxDuration.TabIndex = 36;
//
// label4
//
label4.AutoSize = true;
label4.Location = new Point(12, 47);
label4.Location = new Point(10, 50);
label4.Name = "label4";
label4.Size = new Size(127, 15);
label4.TabIndex = 35;
@ -63,7 +63,7 @@
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 9);
label2.Location = new Point(10, 10);
label2.Name = "label2";
label2.Size = new Size(100, 15);
label2.TabIndex = 34;
@ -71,10 +71,10 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(337, 88);
buttonCancel.Location = new Point(320, 90);
buttonCancel.Margin = new Padding(3, 2, 3, 2);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(82, 22);
buttonCancel.Size = new Size(100, 30);
buttonCancel.TabIndex = 33;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -82,10 +82,10 @@
//
// buttonSave
//
buttonSave.Location = new Point(220, 88);
buttonSave.Location = new Point(200, 90);
buttonSave.Margin = new Padding(3, 2, 3, 2);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(82, 22);
buttonSave.Size = new Size(100, 30);
buttonSave.TabIndex = 32;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -95,7 +95,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(438, 137);
ClientSize = new Size(434, 131);
Controls.Add(dateTimePicker1);
Controls.Add(textBoxDuration);
Controls.Add(label4);

View File

@ -38,9 +38,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(530, 117);
buttonDelete.Location = new Point(515, 110);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(75, 23);
buttonDelete.Size = new Size(100, 30);
buttonDelete.TabIndex = 8;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -48,9 +48,9 @@
//
// buttonгUpdate
//
buttonгUpdate.Location = new Point(530, 61);
buttonгUpdate.Location = new Point(515, 60);
buttonгUpdate.Name = "buttonгUpdate";
buttonгUpdate.Size = new Size(75, 23);
buttonгUpdate.Size = new Size(100, 30);
buttonгUpdate.TabIndex = 7;
buttonгUpdate.Text = "Обновить";
buttonгUpdate.UseVisualStyleBackColor = true;
@ -58,9 +58,9 @@
//
// buttonCreate
//
buttonCreate.Location = new Point(530, 12);
buttonCreate.Location = new Point(515, 10);
buttonCreate.Name = "buttonCreate";
buttonCreate.Size = new Size(75, 23);
buttonCreate.Size = new Size(100, 30);
buttonCreate.TabIndex = 6;
buttonCreate.Text = "Добавить";
buttonCreate.UseVisualStyleBackColor = true;
@ -69,19 +69,19 @@
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(12, 11);
dataGridView1.Location = new Point(10, 10);
dataGridView1.Margin = new Padding(3, 2, 3, 2);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowHeadersWidth = 51;
dataGridView1.RowTemplate.Height = 29;
dataGridView1.Size = new Size(477, 320);
dataGridView1.Size = new Size(480, 320);
dataGridView1.TabIndex = 5;
//
// buttonComplete
//
buttonComplete.Location = new Point(530, 170);
buttonComplete.Location = new Point(515, 160);
buttonComplete.Name = "buttonComplete";
buttonComplete.Size = new Size(87, 23);
buttonComplete.Size = new Size(100, 30);
buttonComplete.TabIndex = 9;
buttonComplete.Text = "Завершить";
buttonComplete.UseVisualStyleBackColor = true;
@ -91,7 +91,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(629, 349);
ClientSize = new Size(629, 341);
Controls.Add(buttonComplete);
Controls.Add(buttonDelete);
Controls.Add(buttonгUpdate);

View File

@ -38,10 +38,10 @@
//
// button2
//
button2.Location = new Point(242, 102);
button2.Location = new Point(200, 85);
button2.Margin = new Padding(3, 2, 3, 2);
button2.Name = "button2";
button2.Size = new Size(82, 22);
button2.Size = new Size(100, 30);
button2.TabIndex = 15;
button2.Text = "Отменить";
button2.UseVisualStyleBackColor = true;
@ -49,10 +49,10 @@
//
// button1
//
button1.Location = new Point(142, 102);
button1.Location = new Point(80, 85);
button1.Margin = new Padding(3, 2, 3, 2);
button1.Name = "button1";
button1.Size = new Size(82, 22);
button1.Size = new Size(100, 30);
button1.TabIndex = 14;
button1.Text = "Сохранить";
button1.UseVisualStyleBackColor = true;
@ -60,16 +60,16 @@
//
// textBox2
//
textBox2.Location = new Point(158, 64);
textBox2.Location = new Point(115, 47);
textBox2.Margin = new Padding(3, 2, 3, 2);
textBox2.Name = "textBox2";
textBox2.Size = new Size(166, 23);
textBox2.Size = new Size(187, 23);
textBox2.TabIndex = 11;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 64);
label2.Location = new Point(10, 50);
label2.Name = "label2";
label2.Size = new Size(38, 15);
label2.TabIndex = 10;
@ -77,16 +77,16 @@
//
// textBox1
//
textBox1.Location = new Point(158, 24);
textBox1.Location = new Point(115, 7);
textBox1.Margin = new Padding(3, 2, 3, 2);
textBox1.Name = "textBox1";
textBox1.Size = new Size(166, 23);
textBox1.Size = new Size(187, 23);
textBox1.TabIndex = 9;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(12, 24);
label1.Location = new Point(10, 10);
label1.Name = "label1";
label1.Size = new Size(99, 15);
label1.TabIndex = 8;
@ -96,7 +96,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(387, 169);
ClientSize = new Size(314, 131);
Controls.Add(button2);
Controls.Add(button1);
Controls.Add(textBox2);

View File

@ -38,19 +38,19 @@
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(12, 11);
dataGridView1.Location = new Point(10, 10);
dataGridView1.Margin = new Padding(3, 2, 3, 2);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowHeadersWidth = 51;
dataGridView1.RowTemplate.Height = 29;
dataGridView1.Size = new Size(477, 320);
dataGridView1.Size = new Size(480, 320);
dataGridView1.TabIndex = 1;
//
// buttonCreate
//
buttonCreate.Location = new Point(530, 12);
buttonCreate.Location = new Point(510, 10);
buttonCreate.Name = "buttonCreate";
buttonCreate.Size = new Size(75, 23);
buttonCreate.Size = new Size(100, 30);
buttonCreate.TabIndex = 2;
buttonCreate.Text = "Добавить";
buttonCreate.UseVisualStyleBackColor = true;
@ -58,9 +58,9 @@
//
// buttonгUpdate
//
buttonгUpdate.Location = new Point(530, 61);
buttonгUpdate.Location = new Point(510, 60);
buttonгUpdate.Name = "buttonгUpdate";
buttonгUpdate.Size = new Size(75, 23);
buttonгUpdate.Size = new Size(100, 30);
buttonгUpdate.TabIndex = 3;
buttonгUpdate.Text = "Обновить";
buttonгUpdate.UseVisualStyleBackColor = true;
@ -68,9 +68,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(530, 117);
buttonDelete.Location = new Point(510, 110);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(75, 23);
buttonDelete.Size = new Size(100, 30);
buttonDelete.TabIndex = 4;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -80,7 +80,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(651, 349);
ClientSize = new Size(624, 341);
Controls.Add(buttonDelete);
Controls.Add(buttonгUpdate);
Controls.Add(buttonCreate);

View File

@ -46,10 +46,10 @@
//
// textBoxEmail
//
textBoxEmail.Location = new Point(151, 194);
textBoxEmail.Location = new Point(115, 194);
textBoxEmail.Margin = new Padding(3, 2, 3, 2);
textBoxEmail.Name = "textBoxEmail";
textBoxEmail.Size = new Size(268, 23);
textBoxEmail.Size = new Size(250, 23);
textBoxEmail.TabIndex = 28;
//
// label4
@ -63,10 +63,10 @@
//
// textBoxName
//
textBoxName.Location = new Point(151, 44);
textBoxName.Location = new Point(115, 44);
textBoxName.Margin = new Padding(3, 2, 3, 2);
textBoxName.Name = "textBoxName";
textBoxName.Size = new Size(268, 23);
textBoxName.Size = new Size(250, 23);
textBoxName.TabIndex = 26;
//
// label2
@ -80,10 +80,10 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(336, 237);
buttonCancel.Location = new Point(265, 235);
buttonCancel.Margin = new Padding(3, 2, 3, 2);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(82, 22);
buttonCancel.Size = new Size(100, 30);
buttonCancel.TabIndex = 24;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -91,10 +91,10 @@
//
// buttonSave
//
buttonSave.Location = new Point(219, 237);
buttonSave.Location = new Point(148, 235);
buttonSave.Margin = new Padding(3, 2, 3, 2);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(82, 22);
buttonSave.Size = new Size(100, 30);
buttonSave.TabIndex = 23;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -112,10 +112,10 @@
// comboBoxPosition
//
comboBoxPosition.FormattingEnabled = true;
comboBoxPosition.Location = new Point(151, 7);
comboBoxPosition.Location = new Point(115, 7);
comboBoxPosition.Margin = new Padding(3, 2, 3, 2);
comboBoxPosition.Name = "comboBoxPosition";
comboBoxPosition.Size = new Size(268, 23);
comboBoxPosition.Size = new Size(250, 23);
comboBoxPosition.TabIndex = 21;
//
// label3
@ -129,17 +129,17 @@
//
// dateTimePicker1
//
dateTimePicker1.Location = new Point(151, 79);
dateTimePicker1.Location = new Point(115, 79);
dateTimePicker1.Name = "dateTimePicker1";
dateTimePicker1.Size = new Size(200, 23);
dateTimePicker1.Size = new Size(250, 23);
dateTimePicker1.TabIndex = 30;
//
// textBoxAddress
//
textBoxAddress.Location = new Point(151, 116);
textBoxAddress.Location = new Point(115, 116);
textBoxAddress.Margin = new Padding(3, 2, 3, 2);
textBoxAddress.Name = "textBoxAddress";
textBoxAddress.Size = new Size(268, 23);
textBoxAddress.Size = new Size(250, 23);
textBoxAddress.TabIndex = 32;
//
// label5
@ -153,10 +153,10 @@
//
// textBoxPhone
//
textBoxPhone.Location = new Point(151, 156);
textBoxPhone.Location = new Point(115, 156);
textBoxPhone.Margin = new Padding(3, 2, 3, 2);
textBoxPhone.Name = "textBoxPhone";
textBoxPhone.Size = new Size(268, 23);
textBoxPhone.Size = new Size(250, 23);
textBoxPhone.TabIndex = 34;
//
// label6
@ -172,7 +172,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(472, 290);
ClientSize = new Size(389, 276);
Controls.Add(textBoxPhone);
Controls.Add(label6);
Controls.Add(textBoxAddress);

View File

@ -38,10 +38,10 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(284, 90);
buttonCancel.Location = new Point(232, 80);
buttonCancel.Margin = new Padding(3, 2, 3, 2);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(82, 22);
buttonCancel.Size = new Size(100, 30);
buttonCancel.TabIndex = 24;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -49,10 +49,10 @@
//
// buttonSave
//
buttonSave.Location = new Point(167, 90);
buttonSave.Location = new Point(115, 80);
buttonSave.Margin = new Padding(3, 2, 3, 2);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(82, 22);
buttonSave.Size = new Size(100, 30);
buttonSave.TabIndex = 23;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -61,7 +61,7 @@
// label1
//
label1.AutoSize = true;
label1.Location = new Point(12, 9);
label1.Location = new Point(10, 10);
label1.Name = "label1";
label1.Size = new Size(66, 15);
label1.TabIndex = 22;
@ -70,16 +70,16 @@
// comboBoxEmployee
//
comboBoxEmployee.FormattingEnabled = true;
comboBoxEmployee.Location = new Point(98, 6);
comboBoxEmployee.Location = new Point(82, 6);
comboBoxEmployee.Margin = new Padding(3, 2, 3, 2);
comboBoxEmployee.Name = "comboBoxEmployee";
comboBoxEmployee.Size = new Size(268, 23);
comboBoxEmployee.Size = new Size(250, 23);
comboBoxEmployee.TabIndex = 21;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 52);
label2.Location = new Point(10, 50);
label2.Name = "label2";
label2.Size = new Size(33, 15);
label2.TabIndex = 26;
@ -88,17 +88,17 @@
// comboBoxCourse
//
comboBoxCourse.FormattingEnabled = true;
comboBoxCourse.Location = new Point(98, 49);
comboBoxCourse.Location = new Point(82, 49);
comboBoxCourse.Margin = new Padding(3, 2, 3, 2);
comboBoxCourse.Name = "comboBoxCourse";
comboBoxCourse.Size = new Size(268, 23);
comboBoxCourse.Size = new Size(250, 23);
comboBoxCourse.TabIndex = 25;
//
// FormEmployee_Course
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(399, 130);
ClientSize = new Size(344, 121);
Controls.Add(label2);
Controls.Add(comboBoxCourse);
Controls.Add(buttonCancel);

View File

@ -36,9 +36,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(530, 52);
buttonDelete.Location = new Point(510, 60);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(75, 23);
buttonDelete.Size = new Size(100, 30);
buttonDelete.TabIndex = 12;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -46,9 +46,9 @@
//
// buttonCreate
//
buttonCreate.Location = new Point(530, 12);
buttonCreate.Location = new Point(510, 10);
buttonCreate.Name = "buttonCreate";
buttonCreate.Size = new Size(75, 23);
buttonCreate.Size = new Size(100, 30);
buttonCreate.TabIndex = 10;
buttonCreate.Text = "Добавить";
buttonCreate.UseVisualStyleBackColor = true;
@ -57,12 +57,12 @@
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(12, 11);
dataGridView1.Location = new Point(10, 10);
dataGridView1.Margin = new Padding(3, 2, 3, 2);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowHeadersWidth = 51;
dataGridView1.RowTemplate.Height = 29;
dataGridView1.Size = new Size(477, 320);
dataGridView1.Size = new Size(480, 320);
dataGridView1.TabIndex = 9;
//
// FormEmployee_Courses

View File

@ -37,9 +37,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(808, 117);
buttonDelete.Location = new Point(812, 115);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(75, 23);
buttonDelete.Size = new Size(100, 30);
buttonDelete.TabIndex = 12;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -47,9 +47,9 @@
//
// buttonгUpdate
//
buttonгUpdate.Location = new Point(808, 61);
buttonгUpdate.Location = new Point(812, 59);
buttonгUpdate.Name = "buttonгUpdate";
buttonгUpdate.Size = new Size(75, 23);
buttonгUpdate.Size = new Size(100, 30);
buttonгUpdate.TabIndex = 11;
buttonгUpdate.Text = "Обновить";
buttonгUpdate.UseVisualStyleBackColor = true;
@ -57,9 +57,9 @@
//
// buttonCreate
//
buttonCreate.Location = new Point(808, 12);
buttonCreate.Location = new Point(812, 10);
buttonCreate.Name = "buttonCreate";
buttonCreate.Size = new Size(75, 23);
buttonCreate.Size = new Size(100, 30);
buttonCreate.TabIndex = 10;
buttonCreate.Text = "Добавить";
buttonCreate.UseVisualStyleBackColor = true;
@ -68,7 +68,7 @@
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(12, 11);
dataGridView1.Location = new Point(10, 10);
dataGridView1.Margin = new Padding(3, 2, 3, 2);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowHeadersWidth = 51;
@ -80,7 +80,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(926, 347);
ClientSize = new Size(924, 346);
Controls.Add(buttonDelete);
Controls.Add(buttonгUpdate);
Controls.Add(buttonCreate);

View File

@ -47,9 +47,9 @@
//
// buttonDepartments
//
buttonDepartments.Location = new Point(12, 12);
buttonDepartments.Location = new Point(10, 10);
buttonDepartments.Name = "buttonDepartments";
buttonDepartments.Size = new Size(141, 44);
buttonDepartments.Size = new Size(150, 50);
buttonDepartments.TabIndex = 0;
buttonDepartments.Text = "Отделы";
buttonDepartments.UseVisualStyleBackColor = true;
@ -57,9 +57,9 @@
//
// buttonPositions
//
buttonPositions.Location = new Point(12, 72);
buttonPositions.Location = new Point(10, 70);
buttonPositions.Name = "buttonPositions";
buttonPositions.Size = new Size(141, 44);
buttonPositions.Size = new Size(150, 50);
buttonPositions.TabIndex = 1;
buttonPositions.Text = "Должности";
buttonPositions.UseVisualStyleBackColor = true;
@ -67,9 +67,9 @@
//
// buttonEmployees
//
buttonEmployees.Location = new Point(12, 131);
buttonEmployees.Location = new Point(10, 130);
buttonEmployees.Name = "buttonEmployees";
buttonEmployees.Size = new Size(141, 44);
buttonEmployees.Size = new Size(150, 50);
buttonEmployees.TabIndex = 2;
buttonEmployees.Text = "Работники";
buttonEmployees.UseVisualStyleBackColor = true;
@ -77,9 +77,9 @@
//
// buttonContracts
//
buttonContracts.Location = new Point(12, 192);
buttonContracts.Location = new Point(10, 190);
buttonContracts.Name = "buttonContracts";
buttonContracts.Size = new Size(141, 44);
buttonContracts.Size = new Size(150, 50);
buttonContracts.TabIndex = 3;
buttonContracts.Text = "Контракты";
buttonContracts.UseVisualStyleBackColor = true;
@ -87,9 +87,9 @@
//
// buttonCourses
//
buttonCourses.Location = new Point(12, 254);
buttonCourses.Location = new Point(10, 250);
buttonCourses.Name = "buttonCourses";
buttonCourses.Size = new Size(141, 44);
buttonCourses.Size = new Size(150, 50);
buttonCourses.TabIndex = 4;
buttonCourses.Text = "Курсы";
buttonCourses.UseVisualStyleBackColor = true;
@ -97,9 +97,9 @@
//
// buttonEmpCourse
//
buttonEmpCourse.Location = new Point(12, 315);
buttonEmpCourse.Location = new Point(10, 310);
buttonEmpCourse.Name = "buttonEmpCourse";
buttonEmpCourse.Size = new Size(141, 44);
buttonEmpCourse.Size = new Size(150, 50);
buttonEmpCourse.TabIndex = 5;
buttonEmpCourse.Text = "Записать на курсы";
buttonEmpCourse.UseVisualStyleBackColor = true;
@ -107,9 +107,9 @@
//
// buttonDepartmentsCreate
//
buttonDepartmentsCreate.Location = new Point(159, 12);
buttonDepartmentsCreate.Location = new Point(170, 10);
buttonDepartmentsCreate.Name = "buttonDepartmentsCreate";
buttonDepartmentsCreate.Size = new Size(141, 44);
buttonDepartmentsCreate.Size = new Size(150, 50);
buttonDepartmentsCreate.TabIndex = 6;
buttonDepartmentsCreate.Text = "Создать 20 отделов";
buttonDepartmentsCreate.UseVisualStyleBackColor = true;
@ -117,9 +117,9 @@
//
// buttonDepartmentsUpdate
//
buttonDepartmentsUpdate.Location = new Point(306, 12);
buttonDepartmentsUpdate.Location = new Point(330, 10);
buttonDepartmentsUpdate.Name = "buttonDepartmentsUpdate";
buttonDepartmentsUpdate.Size = new Size(141, 44);
buttonDepartmentsUpdate.Size = new Size(150, 50);
buttonDepartmentsUpdate.TabIndex = 7;
buttonDepartmentsUpdate.Text = "Обновить 20 отделов";
buttonDepartmentsUpdate.UseVisualStyleBackColor = true;
@ -127,9 +127,9 @@
//
// buttonDepartmentsDelete
//
buttonDepartmentsDelete.Location = new Point(453, 12);
buttonDepartmentsDelete.Location = new Point(490, 10);
buttonDepartmentsDelete.Name = "buttonDepartmentsDelete";
buttonDepartmentsDelete.Size = new Size(141, 44);
buttonDepartmentsDelete.Size = new Size(150, 50);
buttonDepartmentsDelete.TabIndex = 8;
buttonDepartmentsDelete.Text = "Удалить 20 отделов";
buttonDepartmentsDelete.UseVisualStyleBackColor = true;
@ -137,9 +137,9 @@
//
// buttonPositionsDelete
//
buttonPositionsDelete.Location = new Point(453, 72);
buttonPositionsDelete.Location = new Point(490, 70);
buttonPositionsDelete.Name = "buttonPositionsDelete";
buttonPositionsDelete.Size = new Size(141, 44);
buttonPositionsDelete.Size = new Size(150, 50);
buttonPositionsDelete.TabIndex = 11;
buttonPositionsDelete.Text = "Удалить 50 должностей";
buttonPositionsDelete.UseVisualStyleBackColor = true;
@ -147,9 +147,9 @@
//
// buttonPositionsUpdate
//
buttonPositionsUpdate.Location = new Point(306, 72);
buttonPositionsUpdate.Location = new Point(330, 70);
buttonPositionsUpdate.Name = "buttonPositionsUpdate";
buttonPositionsUpdate.Size = new Size(141, 44);
buttonPositionsUpdate.Size = new Size(150, 50);
buttonPositionsUpdate.TabIndex = 10;
buttonPositionsUpdate.Text = "Обновить 50 должностей";
buttonPositionsUpdate.UseVisualStyleBackColor = true;
@ -157,9 +157,9 @@
//
// buttonPositionsCreate
//
buttonPositionsCreate.Location = new Point(159, 72);
buttonPositionsCreate.Location = new Point(170, 70);
buttonPositionsCreate.Name = "buttonPositionsCreate";
buttonPositionsCreate.Size = new Size(141, 44);
buttonPositionsCreate.Size = new Size(150, 50);
buttonPositionsCreate.TabIndex = 9;
buttonPositionsCreate.Text = "Создать 50 должностей";
buttonPositionsCreate.UseVisualStyleBackColor = true;
@ -167,9 +167,9 @@
//
// buttonEmployeesDelete
//
buttonEmployeesDelete.Location = new Point(453, 131);
buttonEmployeesDelete.Location = new Point(490, 130);
buttonEmployeesDelete.Name = "buttonEmployeesDelete";
buttonEmployeesDelete.Size = new Size(141, 44);
buttonEmployeesDelete.Size = new Size(150, 50);
buttonEmployeesDelete.TabIndex = 14;
buttonEmployeesDelete.Text = "Удалить 200 работников";
buttonEmployeesDelete.UseVisualStyleBackColor = true;
@ -177,9 +177,9 @@
//
// buttonEmployeesUpdate
//
buttonEmployeesUpdate.Location = new Point(306, 131);
buttonEmployeesUpdate.Location = new Point(330, 130);
buttonEmployeesUpdate.Name = "buttonEmployeesUpdate";
buttonEmployeesUpdate.Size = new Size(141, 44);
buttonEmployeesUpdate.Size = new Size(150, 50);
buttonEmployeesUpdate.TabIndex = 13;
buttonEmployeesUpdate.Text = "Обновить 200 работников";
buttonEmployeesUpdate.UseVisualStyleBackColor = true;
@ -187,9 +187,9 @@
//
// buttonEmployeesCreate
//
buttonEmployeesCreate.Location = new Point(159, 131);
buttonEmployeesCreate.Location = new Point(170, 130);
buttonEmployeesCreate.Name = "buttonEmployeesCreate";
buttonEmployeesCreate.Size = new Size(141, 44);
buttonEmployeesCreate.Size = new Size(150, 50);
buttonEmployeesCreate.TabIndex = 12;
buttonEmployeesCreate.Text = "Создать 200 работников";
buttonEmployeesCreate.UseVisualStyleBackColor = true;
@ -199,7 +199,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 376);
ClientSize = new Size(649, 371);
Controls.Add(buttonEmployeesDelete);
Controls.Add(buttonEmployeesUpdate);
Controls.Add(buttonEmployeesCreate);

View File

@ -40,10 +40,10 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(341, 140);
buttonCancel.Location = new Point(289, 120);
buttonCancel.Margin = new Padding(3, 2, 3, 2);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(82, 22);
buttonCancel.Size = new Size(100, 30);
buttonCancel.TabIndex = 16;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -51,10 +51,10 @@
//
// buttonSave
//
buttonSave.Location = new Point(224, 140);
buttonSave.Location = new Point(172, 120);
buttonSave.Margin = new Padding(3, 2, 3, 2);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(82, 22);
buttonSave.Size = new Size(100, 30);
buttonSave.TabIndex = 15;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -63,7 +63,7 @@
// label1
//
label1.AutoSize = true;
label1.Location = new Point(16, 23);
label1.Location = new Point(10, 10);
label1.Name = "label1";
label1.Size = new Size(40, 15);
label1.TabIndex = 10;
@ -72,24 +72,24 @@
// comboBoxDepartment
//
comboBoxDepartment.FormattingEnabled = true;
comboBoxDepartment.Location = new Point(155, 21);
comboBoxDepartment.Location = new Point(139, 7);
comboBoxDepartment.Margin = new Padding(3, 2, 3, 2);
comboBoxDepartment.Name = "comboBoxDepartment";
comboBoxDepartment.Size = new Size(268, 23);
comboBoxDepartment.Size = new Size(250, 23);
comboBoxDepartment.TabIndex = 9;
//
// textBox1
//
textBox1.Location = new Point(155, 58);
textBox1.Location = new Point(139, 47);
textBox1.Margin = new Padding(3, 2, 3, 2);
textBox1.Name = "textBox1";
textBox1.Size = new Size(268, 23);
textBox1.Size = new Size(250, 23);
textBox1.TabIndex = 18;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(16, 61);
label2.Location = new Point(10, 50);
label2.Name = "label2";
label2.Size = new Size(123, 15);
label2.TabIndex = 17;
@ -97,16 +97,16 @@
//
// textBox2
//
textBox2.Location = new Point(155, 96);
textBox2.Location = new Point(139, 82);
textBox2.Margin = new Padding(3, 2, 3, 2);
textBox2.Name = "textBox2";
textBox2.Size = new Size(268, 23);
textBox2.Size = new Size(250, 23);
textBox2.TabIndex = 20;
//
// label4
//
label4.AutoSize = true;
label4.Location = new Point(16, 99);
label4.Location = new Point(10, 90);
label4.Name = "label4";
label4.Size = new Size(58, 15);
label4.TabIndex = 19;
@ -116,7 +116,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(448, 187);
ClientSize = new Size(404, 161);
Controls.Add(textBox2);
Controls.Add(label4);
Controls.Add(textBox1);

View File

@ -37,9 +37,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(530, 117);
buttonDelete.Location = new Point(500, 110);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(75, 23);
buttonDelete.Size = new Size(100, 30);
buttonDelete.TabIndex = 8;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -47,9 +47,9 @@
//
// buttonгUpdate
//
buttonгUpdate.Location = new Point(530, 61);
buttonгUpdate.Location = new Point(500, 60);
buttonгUpdate.Name = "buttonгUpdate";
buttonгUpdate.Size = new Size(75, 23);
buttonгUpdate.Size = new Size(100, 30);
buttonгUpdate.TabIndex = 7;
buttonгUpdate.Text = "Обновить";
buttonгUpdate.UseVisualStyleBackColor = true;
@ -57,9 +57,9 @@
//
// buttonCreate
//
buttonCreate.Location = new Point(530, 12);
buttonCreate.Location = new Point(500, 10);
buttonCreate.Name = "buttonCreate";
buttonCreate.Size = new Size(75, 23);
buttonCreate.Size = new Size(100, 30);
buttonCreate.TabIndex = 6;
buttonCreate.Text = "Добавить";
buttonCreate.UseVisualStyleBackColor = true;
@ -68,19 +68,19 @@
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(12, 11);
dataGridView1.Location = new Point(10, 10);
dataGridView1.Margin = new Padding(3, 2, 3, 2);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowHeadersWidth = 51;
dataGridView1.RowTemplate.Height = 29;
dataGridView1.Size = new Size(477, 320);
dataGridView1.Size = new Size(480, 320);
dataGridView1.TabIndex = 5;
//
// FormPositions
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(639, 352);
ClientSize = new Size(614, 341);
Controls.Add(buttonDelete);
Controls.Add(buttonгUpdate);
Controls.Add(buttonCreate);