235 lines
8.3 KiB
C#
235 lines
8.3 KiB
C#
namespace Forms
|
|
{
|
|
partial class FormEmployees
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
dataGridView = new DataGridView();
|
|
textBoxName = new TextBox();
|
|
textBoxSurnName = new TextBox();
|
|
textBoxPosition = new TextBox();
|
|
textBoxTimeWork = new TextBox();
|
|
textBoxSeniority = new TextBox();
|
|
textBoxCostPerHour = new TextBox();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
label5 = new Label();
|
|
label6 = new Label();
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonCreate = new Button();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Location = new Point(12, 12);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.Size = new Size(603, 426);
|
|
dataGridView.TabIndex = 1;
|
|
dataGridView.CellClick += dataGridView_CellClick;
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(688, 12);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(100, 23);
|
|
textBoxName.TabIndex = 2;
|
|
//
|
|
// textBoxSurnName
|
|
//
|
|
textBoxSurnName.Location = new Point(688, 53);
|
|
textBoxSurnName.Name = "textBoxSurnName";
|
|
textBoxSurnName.Size = new Size(100, 23);
|
|
textBoxSurnName.TabIndex = 3;
|
|
//
|
|
// textBoxPosition
|
|
//
|
|
textBoxPosition.Location = new Point(688, 96);
|
|
textBoxPosition.Name = "textBoxPosition";
|
|
textBoxPosition.Size = new Size(100, 23);
|
|
textBoxPosition.TabIndex = 4;
|
|
//
|
|
// textBoxTimeWork
|
|
//
|
|
textBoxTimeWork.Location = new Point(688, 136);
|
|
textBoxTimeWork.Name = "textBoxTimeWork";
|
|
textBoxTimeWork.Size = new Size(100, 23);
|
|
textBoxTimeWork.TabIndex = 5;
|
|
//
|
|
// textBoxSeniority
|
|
//
|
|
textBoxSeniority.Location = new Point(688, 182);
|
|
textBoxSeniority.Name = "textBoxSeniority";
|
|
textBoxSeniority.Size = new Size(100, 23);
|
|
textBoxSeniority.TabIndex = 6;
|
|
//
|
|
// textBoxCostPerHour
|
|
//
|
|
textBoxCostPerHour.Location = new Point(688, 252);
|
|
textBoxCostPerHour.Name = "textBoxCostPerHour";
|
|
textBoxCostPerHour.Size = new Size(100, 23);
|
|
textBoxCostPerHour.TabIndex = 7;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(621, 20);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(39, 15);
|
|
label1.TabIndex = 8;
|
|
label1.Text = "Name";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(621, 61);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(56, 15);
|
|
label2.TabIndex = 9;
|
|
label2.Text = "SurName";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(621, 104);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(50, 15);
|
|
label3.TabIndex = 10;
|
|
label3.Text = "Position";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(621, 144);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(61, 15);
|
|
label4.TabIndex = 11;
|
|
label4.Text = "TimeWork";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(621, 190);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(53, 15);
|
|
label5.TabIndex = 12;
|
|
label5.Text = "Seniority";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(621, 234);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(75, 15);
|
|
label6.TabIndex = 13;
|
|
label6.Text = "CostPerHour";
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(713, 347);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(75, 23);
|
|
buttonDelete.TabIndex = 17;
|
|
buttonDelete.Text = "delete";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(713, 318);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(75, 23);
|
|
buttonUpdate.TabIndex = 16;
|
|
buttonUpdate.Text = "update";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
//
|
|
// buttonCreate
|
|
//
|
|
buttonCreate.Location = new Point(713, 289);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(75, 23);
|
|
buttonCreate.TabIndex = 15;
|
|
buttonCreate.Text = "create";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += buttonCreate_Click;
|
|
//
|
|
// FormEmployees
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonUpdate);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(label6);
|
|
Controls.Add(label5);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(textBoxCostPerHour);
|
|
Controls.Add(textBoxSeniority);
|
|
Controls.Add(textBoxTimeWork);
|
|
Controls.Add(textBoxPosition);
|
|
Controls.Add(textBoxSurnName);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(dataGridView);
|
|
Name = "FormEmployees";
|
|
Text = "FormEmployees";
|
|
Load += FormEmployees_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView dataGridView;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxSurnName;
|
|
private TextBox textBoxPosition;
|
|
private TextBox textBoxTimeWork;
|
|
private TextBox textBoxSeniority;
|
|
private TextBox textBoxCostPerHour;
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private Label label4;
|
|
private Label label5;
|
|
private Label label6;
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonCreate;
|
|
}
|
|
} |