This commit is contained in:
2021-08-05 00:31:53 +05:00
parent fd6651fa5d
commit 09f10a924c
24 changed files with 1338 additions and 881 deletions

View File

@@ -29,312 +29,282 @@ namespace Diplom_O
/// </summary>
private void InitializeComponent()
{
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.shtatMI = new System.Windows.Forms.ToolStripMenuItem();
this.rabitnikiMI = new System.Windows.Forms.ToolStripMenuItem();
this.otpBolMI = new System.Windows.Forms.ToolStripMenuItem();
this.chelRodMI = new System.Windows.Forms.ToolStripMenuItem();
this.errorLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.rodGridView = new System.Windows.Forms.DataGridView();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.delRodButton = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.changeRodButton = new System.Windows.Forms.Button();
this.addRodButton = new System.Windows.Forms.Button();
this.chelGridView = new System.Windows.Forms.DataGridView();
this.selectButton = new System.Windows.Forms.Button();
this.delButton = new System.Windows.Forms.Button();
this.changeButton = new System.Windows.Forms.Button();
this.addButton = new System.Windows.Forms.Button();
this.showWorkerCheckBox = new System.Windows.Forms.CheckBox();
this.dropFindButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.findBox = new System.Windows.Forms.TextBox();
this.menuStrip.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rodGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.chelGridView)).BeginInit();
this.SuspendLayout();
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.shtatMI = new System.Windows.Forms.ToolStripMenuItem();
this.rabitnikiMI = new System.Windows.Forms.ToolStripMenuItem();
this.otpBolMI = new System.Windows.Forms.ToolStripMenuItem();
this.chelRodMI = new System.Windows.Forms.ToolStripMenuItem();
this.errorLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.rodGridView = new System.Windows.Forms.DataGridView();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.chelRodLabel = new System.Windows.Forms.LinkLabel();
this.delRodButton = new System.Windows.Forms.Button();
this.addRodButton = new System.Windows.Forms.Button();
this.chelGridView = new System.Windows.Forms.DataGridView();
this.delButton = new System.Windows.Forms.Button();
this.changeButton = new System.Windows.Forms.Button();
this.addButton = new System.Windows.Forms.Button();
this.showWorkerCheckBox = new System.Windows.Forms.CheckBox();
this.dropFindButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.findBox = new System.Windows.Forms.TextBox();
this.menuStrip.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rodGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.chelGridView)).BeginInit();
this.SuspendLayout();
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.shtatMI,
this.rabitnikiMI,
this.otpBolMI,
this.chelRodMI});
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(1144, 24);
this.menuStrip.TabIndex = 1;
this.menuStrip.Text = "menuStrip1";
//
// shtatMI
//
this.shtatMI.Name = "shtatMI";
this.shtatMI.Size = new System.Drawing.Size(46, 20);
this.shtatMI.Text = "Штат";
//
// rabitnikiMI
//
this.rabitnikiMI.Name = "rabitnikiMI";
this.rabitnikiMI.Size = new System.Drawing.Size(78, 20);
this.rabitnikiMI.Text = "Работники";
//
// otpBolMI
//
this.otpBolMI.Name = "otpBolMI";
this.otpBolMI.Size = new System.Drawing.Size(100, 20);
this.otpBolMI.Text = "Отпуск/Больн.";
//
// chelRodMI
//
this.chelRodMI.Name = "chelRodMI";
this.chelRodMI.Size = new System.Drawing.Size(95, 20);
this.chelRodMI.Text = "Люди/Родств.";
//
// errorLabel
//
this.errorLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.errorLabel.ForeColor = System.Drawing.Color.Red;
this.errorLabel.Name = "errorLabel";
this.errorLabel.Size = new System.Drawing.Size(137, 17);
this.errorLabel.Text = "Отображение ошибки";
this.errorLabel.Visible = false;
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(1186, 24);
this.menuStrip.TabIndex = 1;
this.menuStrip.Text = "menuStrip1";
//
// shtatMI
//
this.shtatMI.Name = "shtatMI";
this.shtatMI.Size = new System.Drawing.Size(46, 20);
this.shtatMI.Text = "Штат";
//
// rabitnikiMI
//
this.rabitnikiMI.Name = "rabitnikiMI";
this.rabitnikiMI.Size = new System.Drawing.Size(78, 20);
this.rabitnikiMI.Text = "Работники";
//
// otpBolMI
//
this.otpBolMI.Name = "otpBolMI";
this.otpBolMI.Size = new System.Drawing.Size(100, 20);
this.otpBolMI.Text = "Отпуск/Больн.";
//
// chelRodMI
//
this.chelRodMI.Name = "chelRodMI";
this.chelRodMI.Size = new System.Drawing.Size(95, 20);
this.chelRodMI.Text = "Люди/Родств.";
//
// errorLabel
//
this.errorLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.errorLabel.ForeColor = System.Drawing.Color.Red;
this.errorLabel.Name = "errorLabel";
this.errorLabel.Size = new System.Drawing.Size(137, 17);
this.errorLabel.Text = "Отображение ошибки";
this.errorLabel.Visible = false;
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.errorLabel});
this.statusStrip1.Location = new System.Drawing.Point(0, 386);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(1144, 22);
this.statusStrip1.TabIndex = 16;
this.statusStrip1.Text = "statusStrip1";
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.statusStrip1.Location = new System.Drawing.Point(0, 386);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(1186, 22);
this.statusStrip1.TabIndex = 16;
this.statusStrip1.Text = "statusStrip1";
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.rodGridView);
this.groupBox1.Controls.Add(this.comboBox1);
this.groupBox1.Controls.Add(this.linkLabel1);
this.groupBox1.Controls.Add(this.delRodButton);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.changeRodButton);
this.groupBox1.Controls.Add(this.addRodButton);
this.groupBox1.Location = new System.Drawing.Point(802, 27);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(330, 356);
this.groupBox1.TabIndex = 26;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Родственники";
//
// rodGridView
//
this.rodGridView.AllowUserToAddRows = false;
this.rodGridView.AllowUserToDeleteRows = false;
this.rodGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.groupBox1.Controls.Add(this.rodGridView);
this.groupBox1.Controls.Add(this.comboBox1);
this.groupBox1.Controls.Add(this.chelRodLabel);
this.groupBox1.Controls.Add(this.delRodButton);
this.groupBox1.Controls.Add(this.addRodButton);
this.groupBox1.Location = new System.Drawing.Point(844, 27);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(330, 356);
this.groupBox1.TabIndex = 26;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Родственники";
//
// rodGridView
//
this.rodGridView.AllowUserToAddRows = false;
this.rodGridView.AllowUserToDeleteRows = false;
this.rodGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.rodGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.rodGridView.Location = new System.Drawing.Point(6, 85);
this.rodGridView.MultiSelect = false;
this.rodGridView.Name = "rodGridView";
this.rodGridView.ReadOnly = true;
this.rodGridView.RowHeadersVisible = false;
this.rodGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.rodGridView.Size = new System.Drawing.Size(318, 265);
this.rodGridView.TabIndex = 32;
//
// comboBox1
//
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Items.AddRange(new object[] {
this.rodGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.rodGridView.Location = new System.Drawing.Point(6, 85);
this.rodGridView.MultiSelect = false;
this.rodGridView.Name = "rodGridView";
this.rodGridView.ReadOnly = true;
this.rodGridView.RowHeadersVisible = false;
this.rodGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.rodGridView.Size = new System.Drawing.Size(318, 265);
this.rodGridView.TabIndex = 12;
//
// comboBox1
//
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Items.AddRange(new object[] {
"Родственная связь"});
this.comboBox1.Location = new System.Drawing.Point(168, 21);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(156, 21);
this.comboBox1.TabIndex = 31;
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(37, 24);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(81, 13);
this.linkLabel1.TabIndex = 30;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "Фамилия И.О.";
//
// delRodButton
//
this.delRodButton.Location = new System.Drawing.Point(168, 56);
this.delRodButton.Name = "delRodButton";
this.delRodButton.Size = new System.Drawing.Size(75, 23);
this.delRodButton.TabIndex = 29;
this.delRodButton.Text = "Удалить";
this.delRodButton.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Location = new System.Drawing.Point(6, 19);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(25, 23);
this.button1.TabIndex = 27;
this.button1.Text = "...";
this.button1.UseVisualStyleBackColor = true;
//
// changeRodButton
//
this.changeRodButton.Location = new System.Drawing.Point(87, 56);
this.changeRodButton.Name = "changeRodButton";
this.changeRodButton.Size = new System.Drawing.Size(75, 23);
this.changeRodButton.TabIndex = 28;
this.changeRodButton.Text = "Изменить";
this.changeRodButton.UseVisualStyleBackColor = true;
//
// addRodButton
//
this.addRodButton.Location = new System.Drawing.Point(6, 56);
this.addRodButton.Name = "addRodButton";
this.addRodButton.Size = new System.Drawing.Size(75, 23);
this.addRodButton.TabIndex = 27;
this.addRodButton.Text = "Добавить";
this.addRodButton.UseVisualStyleBackColor = true;
//
// chelGridView
//
this.chelGridView.AllowUserToAddRows = false;
this.chelGridView.AllowUserToDeleteRows = false;
this.chelGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.comboBox1.Location = new System.Drawing.Point(168, 21);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(156, 21);
this.comboBox1.TabIndex = 7;
//
// chelRodLabel
//
this.chelRodLabel.AutoSize = true;
this.chelRodLabel.Location = new System.Drawing.Point(6, 24);
this.chelRodLabel.Name = "chelRodLabel";
this.chelRodLabel.Size = new System.Drawing.Size(81, 13);
this.chelRodLabel.TabIndex = 6;
this.chelRodLabel.TabStop = true;
this.chelRodLabel.Text = "Фамилия И.О.";
this.chelRodLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.chelRodLabel_Clicked);
//
// delRodButton
//
this.delRodButton.Location = new System.Drawing.Point(87, 56);
this.delRodButton.Name = "delRodButton";
this.delRodButton.Size = new System.Drawing.Size(75, 23);
this.delRodButton.TabIndex = 10;
this.delRodButton.Text = "Удалить";
this.delRodButton.UseVisualStyleBackColor = true;
//
// addRodButton
//
this.addRodButton.Location = new System.Drawing.Point(6, 56);
this.addRodButton.Name = "addRodButton";
this.addRodButton.Size = new System.Drawing.Size(75, 23);
this.addRodButton.TabIndex = 8;
this.addRodButton.Text = "Добавить";
this.addRodButton.UseVisualStyleBackColor = true;
//
// chelGridView
//
this.chelGridView.AllowUserToAddRows = false;
this.chelGridView.AllowUserToDeleteRows = false;
this.chelGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.chelGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.chelGridView.Location = new System.Drawing.Point(12, 56);
this.chelGridView.MultiSelect = false;
this.chelGridView.Name = "chelGridView";
this.chelGridView.ReadOnly = true;
this.chelGridView.RowHeadersVisible = false;
this.chelGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.chelGridView.Size = new System.Drawing.Size(784, 298);
this.chelGridView.TabIndex = 35;
//
// selectButton
//
this.selectButton.Location = new System.Drawing.Point(12, 27);
this.selectButton.Name = "selectButton";
this.selectButton.Size = new System.Drawing.Size(75, 23);
this.selectButton.TabIndex = 34;
this.selectButton.Text = "Выбрать";
this.selectButton.UseVisualStyleBackColor = true;
this.selectButton.Visible = false;
//
// delButton
//
this.delButton.Location = new System.Drawing.Point(255, 27);
this.delButton.Name = "delButton";
this.delButton.Size = new System.Drawing.Size(75, 23);
this.delButton.TabIndex = 33;
this.delButton.Text = "Удалить";
this.delButton.UseVisualStyleBackColor = true;
this.delButton.Click += new System.EventHandler(this.delButton_Click);
//
// changeButton
//
this.changeButton.Location = new System.Drawing.Point(174, 27);
this.changeButton.Name = "changeButton";
this.changeButton.Size = new System.Drawing.Size(75, 23);
this.changeButton.TabIndex = 32;
this.changeButton.Text = "Изменить";
this.changeButton.UseVisualStyleBackColor = true;
this.changeButton.Click += new System.EventHandler(this.changeButton_Click);
//
// addButton
//
this.addButton.Location = new System.Drawing.Point(93, 27);
this.addButton.Name = "addButton";
this.addButton.Size = new System.Drawing.Size(75, 23);
this.addButton.TabIndex = 31;
this.addButton.Text = "Добавить";
this.addButton.UseVisualStyleBackColor = true;
this.addButton.Click += new System.EventHandler(this.addButton_Click);
//
// showWorkerCheckBox
//
this.showWorkerCheckBox.AutoSize = true;
this.showWorkerCheckBox.Checked = true;
this.showWorkerCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.showWorkerCheckBox.Location = new System.Drawing.Point(336, 31);
this.showWorkerCheckBox.Name = "showWorkerCheckBox";
this.showWorkerCheckBox.Size = new System.Drawing.Size(204, 17);
this.showWorkerCheckBox.TabIndex = 30;
this.showWorkerCheckBox.Text = оrазать/скрыть трудоустроенных";
this.showWorkerCheckBox.UseVisualStyleBackColor = true;
//
// dropFindButton
//
this.dropFindButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.dropFindButton.Location = new System.Drawing.Point(721, 360);
this.dropFindButton.Name = "dropFindButton";
this.dropFindButton.Size = new System.Drawing.Size(75, 23);
this.dropFindButton.TabIndex = 29;
this.dropFindButton.Text = "Сбросить";
this.dropFindButton.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 365);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 13);
this.label1.TabIndex = 28;
this.label1.Text = "Поиск";
//
// findBox
//
this.findBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
this.chelGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.chelGridView.Location = new System.Drawing.Point(12, 56);
this.chelGridView.MultiSelect = false;
this.chelGridView.Name = "chelGridView";
this.chelGridView.ReadOnly = true;
this.chelGridView.RowHeadersVisible = false;
this.chelGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.chelGridView.Size = new System.Drawing.Size(826, 298);
this.chelGridView.TabIndex = 11;
//
// delButton
//
this.delButton.Location = new System.Drawing.Point(174, 27);
this.delButton.Name = "delButton";
this.delButton.Size = new System.Drawing.Size(75, 23);
this.delButton.TabIndex = 2;
this.delButton.Text = "Удалить";
this.delButton.UseVisualStyleBackColor = true;
this.delButton.Click += new System.EventHandler(this.delButton_Click);
//
// changeButton
//
this.changeButton.Location = new System.Drawing.Point(93, 27);
this.changeButton.Name = "changeButton";
this.changeButton.Size = new System.Drawing.Size(75, 23);
this.changeButton.TabIndex = 1;
this.changeButton.Text = "Изменить";
this.changeButton.UseVisualStyleBackColor = true;
this.changeButton.Click += new System.EventHandler(this.changeButton_Click);
//
// addButton
//
this.addButton.Location = new System.Drawing.Point(12, 27);
this.addButton.Name = "addButton";
this.addButton.Size = new System.Drawing.Size(75, 23);
this.addButton.TabIndex = 0;
this.addButton.Text = "Добавить";
this.addButton.UseVisualStyleBackColor = true;
this.addButton.Click += new System.EventHandler(this.addButton_Click);
//
// showWorkerCheckBox
//
this.showWorkerCheckBox.AutoSize = true;
this.showWorkerCheckBox.Checked = true;
this.showWorkerCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.showWorkerCheckBox.Location = new System.Drawing.Point(255, 31);
this.showWorkerCheckBox.Name = "showWorkerCheckBox";
this.showWorkerCheckBox.Size = new System.Drawing.Size(204, 17);
this.showWorkerCheckBox.TabIndex = 3;
this.showWorkerCheckBox.Text = оrазать/скрыть трудоустроенных";
this.showWorkerCheckBox.UseVisualStyleBackColor = true;
this.showWorkerCheckBox.CheckedChanged += new System.EventHandler(this.checkBox_CheckedChanged);
//
// dropFindButton
//
this.dropFindButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.dropFindButton.Location = new System.Drawing.Point(763, 360);
this.dropFindButton.Name = "dropFindButton";
this.dropFindButton.Size = new System.Drawing.Size(75, 23);
this.dropFindButton.TabIndex = 5;
this.dropFindButton.Text = "Сбросить";
this.dropFindButton.UseVisualStyleBackColor = true;
this.dropFindButton.Click += new System.EventHandler(this.dropFindButton_Click);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 365);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 13);
this.label1.TabIndex = 28;
this.label1.Text = "Поиск";
//
// findBox
//
this.findBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.findBox.Location = new System.Drawing.Point(57, 362);
this.findBox.Name = "findBox";
this.findBox.Size = new System.Drawing.Size(658, 20);
this.findBox.TabIndex = 27;
//
// ChelForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1144, 408);
this.Controls.Add(this.chelGridView);
this.Controls.Add(this.selectButton);
this.Controls.Add(this.delButton);
this.Controls.Add(this.changeButton);
this.Controls.Add(this.addButton);
this.Controls.Add(this.showWorkerCheckBox);
this.Controls.Add(this.dropFindButton);
this.Controls.Add(this.label1);
this.Controls.Add(this.findBox);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip);
this.Name = "ChelForm";
this.Text = "Люди / Родственники";
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.rodGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.chelGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
this.findBox.Location = new System.Drawing.Point(57, 362);
this.findBox.Name = "findBox";
this.findBox.Size = new System.Drawing.Size(700, 20);
this.findBox.TabIndex = 4;
this.findBox.TextChanged += new System.EventHandler(this.findBox_TextChanged);
//
// ChelForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1186, 408);
this.Controls.Add(this.chelGridView);
this.Controls.Add(this.delButton);
this.Controls.Add(this.changeButton);
this.Controls.Add(this.addButton);
this.Controls.Add(this.showWorkerCheckBox);
this.Controls.Add(this.dropFindButton);
this.Controls.Add(this.label1);
this.Controls.Add(this.findBox);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip);
this.Name = "ChelForm";
this.Text = "Люди / Родственники";
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.rodGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.chelGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -350,13 +320,10 @@ namespace Diplom_O
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.DataGridView rodGridView;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.LinkLabel chelRodLabel;
private System.Windows.Forms.Button delRodButton;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button changeRodButton;
private System.Windows.Forms.Button addRodButton;
private System.Windows.Forms.DataGridView chelGridView;
private System.Windows.Forms.Button selectButton;
private System.Windows.Forms.Button delButton;
private System.Windows.Forms.Button changeButton;
private System.Windows.Forms.Button addButton;

View File

@@ -42,14 +42,12 @@ namespace Diplom_O
});
filterDrop.Start();
}
private void dropFindButton_Click(object sender, EventArgs e)
{
findBox.Text = "";
filterDrop = new Task(() => { return; });
resetChelTable();
}
private void resetChelTable()
{
try
@@ -111,22 +109,16 @@ namespace Diplom_O
catch (Exception e) { ShowError(e.Message); return null; }
}
public Shtat formResult = null;
public ChelForm(bool select = false)
public ChelForm()
{
try
{
InitializeComponent();
Init(select);
chelRodMI.Enabled = false;
resetChelTable();
}
catch { this.Close(); }
}
public void Init(bool s)
{
if (s) selectButton.Visible = true;
chelRodMI.Enabled = false;
}
private void addButton_Click(object sender, EventArgs e)
{
@@ -178,10 +170,18 @@ namespace Diplom_O
}
ShowError("Ошибка перехода на новую форму.");
}
private void checkBox_CheckedChanged(object sender, EventArgs e)
{
resetChelTable();
}
}
private Chel chelRod = null;
private void chelRodLabel_Clicked(object sender, LinkLabelLinkClickedEventArgs e)
{
var chelForm = new SupportForms.SelectChelForm();
chelForm.ShowDialog();
if(chelForm.isCanceled)
}
}
}

View File

@@ -29,215 +29,215 @@ namespace Diplom_O
/// </summary>
private void InitializeComponent()
{
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.shtatMI = new System.Windows.Forms.ToolStripMenuItem();
this.rabitnikiMI = new System.Windows.Forms.ToolStripMenuItem();
this.otpBolMI = new System.Windows.Forms.ToolStripMenuItem();
this.chelRodMI = new System.Windows.Forms.ToolStripMenuItem();
this.findBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.dropFindButton = new System.Windows.Forms.Button();
this.freeShtatCheckBox = new System.Windows.Forms.CheckBox();
this.addButton = new System.Windows.Forms.Button();
this.changeButton = new System.Windows.Forms.Button();
this.delButton = new System.Windows.Forms.Button();
this.selectButton = new System.Windows.Forms.Button();
this.shtatGridView = new System.Windows.Forms.DataGridView();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.errorLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.menuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.shtatGridView)).BeginInit();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.shtatMI = new System.Windows.Forms.ToolStripMenuItem();
this.rabitnikiMI = new System.Windows.Forms.ToolStripMenuItem();
this.otpBolMI = new System.Windows.Forms.ToolStripMenuItem();
this.chelRodMI = new System.Windows.Forms.ToolStripMenuItem();
this.findBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.dropFindButton = new System.Windows.Forms.Button();
this.freeShtatCheckBox = new System.Windows.Forms.CheckBox();
this.addButton = new System.Windows.Forms.Button();
this.changeButton = new System.Windows.Forms.Button();
this.delButton = new System.Windows.Forms.Button();
this.selectButton = new System.Windows.Forms.Button();
this.shtatGridView = new System.Windows.Forms.DataGridView();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.errorLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.menuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.shtatGridView)).BeginInit();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.shtatMI,
this.rabitnikiMI,
this.otpBolMI,
this.chelRodMI});
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(342, 24);
this.menuStrip.TabIndex = 0;
this.menuStrip.Text = "menuStrip1";
//
// shtatMI
//
this.shtatMI.Name = "shtatMI";
this.shtatMI.Size = new System.Drawing.Size(46, 20);
this.shtatMI.Text = "Штат";
this.shtatMI.Click += new System.EventHandler(this.MI_Click);
//
// rabitnikiMI
//
this.rabitnikiMI.Name = "rabitnikiMI";
this.rabitnikiMI.Size = new System.Drawing.Size(78, 20);
this.rabitnikiMI.Text = "Работники";
this.rabitnikiMI.Click += new System.EventHandler(this.MI_Click);
//
// otpBolMI
//
this.otpBolMI.Name = "otpBolMI";
this.otpBolMI.Size = new System.Drawing.Size(100, 20);
this.otpBolMI.Text = "Отпуск/Больн.";
this.otpBolMI.Click += new System.EventHandler(this.MI_Click);
//
// chelRodMI
//
this.chelRodMI.Name = "chelRodMI";
this.chelRodMI.Size = new System.Drawing.Size(95, 20);
this.chelRodMI.Text = "Люди/Родств.";
this.chelRodMI.Click += new System.EventHandler(this.MI_Click);
//
// findBox
//
this.findBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(342, 24);
this.menuStrip.TabIndex = 8;
this.menuStrip.Text = "menuStrip1";
//
// shtatMI
//
this.shtatMI.Name = "shtatMI";
this.shtatMI.Size = new System.Drawing.Size(46, 20);
this.shtatMI.Text = "Штат";
this.shtatMI.Click += new System.EventHandler(this.MI_Click);
//
// rabitnikiMI
//
this.rabitnikiMI.Name = "rabitnikiMI";
this.rabitnikiMI.Size = new System.Drawing.Size(78, 20);
this.rabitnikiMI.Text = "Работники";
this.rabitnikiMI.Click += new System.EventHandler(this.MI_Click);
//
// otpBolMI
//
this.otpBolMI.Name = "otpBolMI";
this.otpBolMI.Size = new System.Drawing.Size(100, 20);
this.otpBolMI.Text = "Отпуск/Больн.";
this.otpBolMI.Click += new System.EventHandler(this.MI_Click);
//
// chelRodMI
//
this.chelRodMI.Name = "chelRodMI";
this.chelRodMI.Size = new System.Drawing.Size(95, 20);
this.chelRodMI.Text = "Люди/Родств.";
this.chelRodMI.Click += new System.EventHandler(this.MI_Click);
//
// findBox
//
this.findBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.findBox.Location = new System.Drawing.Point(57, 490);
this.findBox.Name = "findBox";
this.findBox.Size = new System.Drawing.Size(192, 20);
this.findBox.TabIndex = 1;
this.findBox.TextChanged += new System.EventHandler(this.findBox_TextChanged);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 493);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Поиск";
//
// dropFindButton
//
this.dropFindButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.dropFindButton.Location = new System.Drawing.Point(255, 488);
this.dropFindButton.Name = "dropFindButton";
this.dropFindButton.Size = new System.Drawing.Size(75, 23);
this.dropFindButton.TabIndex = 4;
this.dropFindButton.Text = "Сбросить";
this.dropFindButton.UseVisualStyleBackColor = true;
this.dropFindButton.TextChanged += new System.EventHandler(this.dropFindButton_Click);
//
// freeShtatCheckBox
//
this.freeShtatCheckBox.AutoSize = true;
this.freeShtatCheckBox.Checked = true;
this.freeShtatCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.freeShtatCheckBox.Location = new System.Drawing.Point(12, 56);
this.freeShtatCheckBox.Name = "freeShtatCheckBox";
this.freeShtatCheckBox.Size = new System.Drawing.Size(218, 17);
this.freeShtatCheckBox.TabIndex = 6;
this.freeShtatCheckBox.Text = оrазать/скрыть занятые должности";
this.freeShtatCheckBox.UseVisualStyleBackColor = true;
this.freeShtatCheckBox.CheckedChanged += new System.EventHandler(this.checkBox_CheckedChanged);
//
// addButton
//
this.addButton.Location = new System.Drawing.Point(93, 27);
this.addButton.Name = "addButton";
this.addButton.Size = new System.Drawing.Size(75, 23);
this.addButton.TabIndex = 7;
this.addButton.Text = "Добавить";
this.addButton.UseVisualStyleBackColor = true;
this.addButton.Click += new System.EventHandler(this.addButton_Click);
//
// changeButton
//
this.changeButton.Location = new System.Drawing.Point(174, 27);
this.changeButton.Name = "changeButton";
this.changeButton.Size = new System.Drawing.Size(75, 23);
this.changeButton.TabIndex = 8;
this.changeButton.Text = "Изменить";
this.changeButton.UseVisualStyleBackColor = true;
this.changeButton.Click += new System.EventHandler(this.changeButton_Click);
//
// delButton
//
this.delButton.Location = new System.Drawing.Point(255, 27);
this.delButton.Name = "delButton";
this.delButton.Size = new System.Drawing.Size(75, 23);
this.delButton.TabIndex = 9;
this.delButton.Text = "Удалить";
this.delButton.UseVisualStyleBackColor = true;
this.delButton.Click += new System.EventHandler(this.delButton_Click);
//
// selectButton
//
this.selectButton.Location = new System.Drawing.Point(12, 27);
this.selectButton.Name = "selectButton";
this.selectButton.Size = new System.Drawing.Size(75, 23);
this.selectButton.TabIndex = 13;
this.selectButton.Text = "Выбрать";
this.selectButton.UseVisualStyleBackColor = true;
this.selectButton.Visible = false;
//
// shtatGridView
//
this.shtatGridView.AllowUserToAddRows = false;
this.shtatGridView.AllowUserToDeleteRows = false;
this.shtatGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.findBox.Location = new System.Drawing.Point(57, 490);
this.findBox.Name = "findBox";
this.findBox.Size = new System.Drawing.Size(192, 20);
this.findBox.TabIndex = 5;
this.findBox.TextChanged += new System.EventHandler(this.findBox_TextChanged);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 493);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Поиск";
//
// dropFindButton
//
this.dropFindButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.dropFindButton.Location = new System.Drawing.Point(255, 488);
this.dropFindButton.Name = "dropFindButton";
this.dropFindButton.Size = new System.Drawing.Size(75, 23);
this.dropFindButton.TabIndex = 6;
this.dropFindButton.Text = "Сбросить";
this.dropFindButton.UseVisualStyleBackColor = true;
this.dropFindButton.TextChanged += new System.EventHandler(this.dropFindButton_Click);
//
// freeShtatCheckBox
//
this.freeShtatCheckBox.AutoSize = true;
this.freeShtatCheckBox.Checked = true;
this.freeShtatCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.freeShtatCheckBox.Location = new System.Drawing.Point(12, 56);
this.freeShtatCheckBox.Name = "freeShtatCheckBox";
this.freeShtatCheckBox.Size = new System.Drawing.Size(218, 17);
this.freeShtatCheckBox.TabIndex = 4;
this.freeShtatCheckBox.Text = оrазать/скрыть занятые должности";
this.freeShtatCheckBox.UseVisualStyleBackColor = true;
this.freeShtatCheckBox.CheckedChanged += new System.EventHandler(this.checkBox_CheckedChanged);
//
// addButton
//
this.addButton.Location = new System.Drawing.Point(93, 27);
this.addButton.Name = "addButton";
this.addButton.Size = new System.Drawing.Size(75, 23);
this.addButton.TabIndex = 1;
this.addButton.Text = "Добавить";
this.addButton.UseVisualStyleBackColor = true;
this.addButton.Click += new System.EventHandler(this.addButton_Click);
//
// changeButton
//
this.changeButton.Location = new System.Drawing.Point(174, 27);
this.changeButton.Name = "changeButton";
this.changeButton.Size = new System.Drawing.Size(75, 23);
this.changeButton.TabIndex = 2;
this.changeButton.Text = "Изменить";
this.changeButton.UseVisualStyleBackColor = true;
this.changeButton.Click += new System.EventHandler(this.changeButton_Click);
//
// delButton
//
this.delButton.Location = new System.Drawing.Point(255, 27);
this.delButton.Name = "delButton";
this.delButton.Size = new System.Drawing.Size(75, 23);
this.delButton.TabIndex = 3;
this.delButton.Text = "Удалить";
this.delButton.UseVisualStyleBackColor = true;
this.delButton.Click += new System.EventHandler(this.delButton_Click);
//
// selectButton
//
this.selectButton.Location = new System.Drawing.Point(12, 27);
this.selectButton.Name = "selectButton";
this.selectButton.Size = new System.Drawing.Size(75, 23);
this.selectButton.TabIndex = 0;
this.selectButton.Text = "Выбрать";
this.selectButton.UseVisualStyleBackColor = true;
this.selectButton.Visible = false;
//
// shtatGridView
//
this.shtatGridView.AllowUserToAddRows = false;
this.shtatGridView.AllowUserToDeleteRows = false;
this.shtatGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.shtatGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.shtatGridView.Location = new System.Drawing.Point(12, 79);
this.shtatGridView.MultiSelect = false;
this.shtatGridView.Name = "shtatGridView";
this.shtatGridView.ReadOnly = true;
this.shtatGridView.RowHeadersVisible = false;
this.shtatGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.shtatGridView.Size = new System.Drawing.Size(318, 403);
this.shtatGridView.TabIndex = 14;
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.shtatGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.shtatGridView.Location = new System.Drawing.Point(12, 79);
this.shtatGridView.MultiSelect = false;
this.shtatGridView.Name = "shtatGridView";
this.shtatGridView.ReadOnly = true;
this.shtatGridView.RowHeadersVisible = false;
this.shtatGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.shtatGridView.Size = new System.Drawing.Size(318, 403);
this.shtatGridView.TabIndex = 7;
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.errorLabel});
this.statusStrip1.Location = new System.Drawing.Point(0, 514);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(342, 22);
this.statusStrip1.TabIndex = 15;
this.statusStrip1.Text = "statusStrip1";
//
// errorLabel
//
this.errorLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.errorLabel.ForeColor = System.Drawing.Color.Red;
this.errorLabel.Name = "errorLabel";
this.errorLabel.Size = new System.Drawing.Size(137, 17);
this.errorLabel.Text = "Отображение ошибки";
this.errorLabel.Visible = false;
//
// ShtatForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(342, 536);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.shtatGridView);
this.Controls.Add(this.selectButton);
this.Controls.Add(this.delButton);
this.Controls.Add(this.changeButton);
this.Controls.Add(this.addButton);
this.Controls.Add(this.freeShtatCheckBox);
this.Controls.Add(this.dropFindButton);
this.Controls.Add(this.label1);
this.Controls.Add(this.findBox);
this.Controls.Add(this.menuStrip);
this.MainMenuStrip = this.menuStrip;
this.Name = "ShtatForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Штат";
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.shtatGridView)).EndInit();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
this.statusStrip1.Location = new System.Drawing.Point(0, 514);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(342, 22);
this.statusStrip1.TabIndex = 15;
this.statusStrip1.Text = "statusStrip1";
//
// errorLabel
//
this.errorLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.errorLabel.ForeColor = System.Drawing.Color.Red;
this.errorLabel.Name = "errorLabel";
this.errorLabel.Size = new System.Drawing.Size(137, 17);
this.errorLabel.Text = "Отображение ошибки";
this.errorLabel.Visible = false;
//
// ShtatForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(342, 536);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.shtatGridView);
this.Controls.Add(this.selectButton);
this.Controls.Add(this.delButton);
this.Controls.Add(this.changeButton);
this.Controls.Add(this.addButton);
this.Controls.Add(this.freeShtatCheckBox);
this.Controls.Add(this.dropFindButton);
this.Controls.Add(this.label1);
this.Controls.Add(this.findBox);
this.Controls.Add(this.menuStrip);
this.MainMenuStrip = this.menuStrip;
this.Name = "ShtatForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Штат";
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.shtatGridView)).EndInit();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}