2021-07-21 16:57:47 +05:00
|
|
|
|
|
|
|
|
|
namespace Diplom_O
|
|
|
|
|
{
|
|
|
|
|
partial class ShtatForm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обязательная переменная конструктора.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Освободить все используемые ресурсы.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Код, автоматически созданный конструктором форм Windows
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2021-08-05 00:31:53 +05:00
|
|
|
|
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[] {
|
2021-07-21 16:57:47 +05:00
|
|
|
|
this.shtatMI,
|
|
|
|
|
this.rabitnikiMI,
|
|
|
|
|
this.otpBolMI,
|
|
|
|
|
this.chelRodMI});
|
2021-08-05 00:31:53 +05:00
|
|
|
|
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)
|
2021-07-21 16:57:47 +05:00
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2021-08-05 00:31:53 +05:00
|
|
|
|
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)
|
2021-07-21 16:57:47 +05:00
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2021-08-05 00:31:53 +05:00
|
|
|
|
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[] {
|
2021-07-21 16:57:47 +05:00
|
|
|
|
this.errorLabel});
|
2021-08-05 00:31:53 +05:00
|
|
|
|
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();
|
2021-07-21 16:57:47 +05:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem rabitnikiMI;
|
|
|
|
|
private System.Windows.Forms.TextBox findBox;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
private System.Windows.Forms.Button dropFindButton;
|
|
|
|
|
private System.Windows.Forms.CheckBox freeShtatCheckBox;
|
|
|
|
|
private System.Windows.Forms.Button addButton;
|
|
|
|
|
private System.Windows.Forms.Button changeButton;
|
|
|
|
|
private System.Windows.Forms.Button delButton;
|
|
|
|
|
private System.Windows.Forms.Button selectButton;
|
|
|
|
|
private System.Windows.Forms.DataGridView shtatGridView;
|
|
|
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel errorLabel;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem shtatMI;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem otpBolMI;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem chelRodMI;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|