170 lines
6.0 KiB
C#
170 lines
6.0 KiB
C#
|
namespace Forms
|
|||
|
{
|
|||
|
partial class FormService
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
label1 = new Label();
|
|||
|
label2 = new Label();
|
|||
|
label4 = new Label();
|
|||
|
textBoxTitle = new TextBox();
|
|||
|
textBoxCost = new TextBox();
|
|||
|
comboBoxEmployeesId = new ComboBox();
|
|||
|
buttonCreate = new Button();
|
|||
|
buttonUpdate = new Button();
|
|||
|
buttonDelete = 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 = 0;
|
|||
|
dataGridView.CellClick += dataGridView_CellClick;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
label1.AutoSize = true;
|
|||
|
label1.Location = new Point(621, 12);
|
|||
|
label1.Name = "label1";
|
|||
|
label1.Size = new Size(29, 15);
|
|||
|
label1.TabIndex = 1;
|
|||
|
label1.Text = "Title";
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
label2.AutoSize = true;
|
|||
|
label2.Location = new Point(621, 41);
|
|||
|
label2.Name = "label2";
|
|||
|
label2.Size = new Size(31, 15);
|
|||
|
label2.TabIndex = 2;
|
|||
|
label2.Text = "Cost";
|
|||
|
//
|
|||
|
// label4
|
|||
|
//
|
|||
|
label4.AutoSize = true;
|
|||
|
label4.Location = new Point(618, 70);
|
|||
|
label4.Name = "label4";
|
|||
|
label4.Size = new Size(64, 15);
|
|||
|
label4.TabIndex = 4;
|
|||
|
label4.Text = "Employees";
|
|||
|
//
|
|||
|
// textBoxTitle
|
|||
|
//
|
|||
|
textBoxTitle.Location = new Point(687, 9);
|
|||
|
textBoxTitle.Name = "textBoxTitle";
|
|||
|
textBoxTitle.Size = new Size(100, 23);
|
|||
|
textBoxTitle.TabIndex = 6;
|
|||
|
//
|
|||
|
// textBoxCost
|
|||
|
//
|
|||
|
textBoxCost.Location = new Point(687, 38);
|
|||
|
textBoxCost.Name = "textBoxCost";
|
|||
|
textBoxCost.Size = new Size(100, 23);
|
|||
|
textBoxCost.TabIndex = 7;
|
|||
|
//
|
|||
|
// comboBoxEmployeesId
|
|||
|
//
|
|||
|
comboBoxEmployeesId.FormattingEnabled = true;
|
|||
|
comboBoxEmployeesId.Location = new Point(688, 67);
|
|||
|
comboBoxEmployeesId.Name = "comboBoxEmployeesId";
|
|||
|
comboBoxEmployeesId.Size = new Size(100, 23);
|
|||
|
comboBoxEmployeesId.TabIndex = 11;
|
|||
|
//
|
|||
|
// buttonCreate
|
|||
|
//
|
|||
|
buttonCreate.Location = new Point(687, 154);
|
|||
|
buttonCreate.Name = "buttonCreate";
|
|||
|
buttonCreate.Size = new Size(75, 23);
|
|||
|
buttonCreate.TabIndex = 12;
|
|||
|
buttonCreate.Text = "create";
|
|||
|
buttonCreate.UseVisualStyleBackColor = true;
|
|||
|
buttonCreate.Click += buttonCreate_Click;
|
|||
|
//
|
|||
|
// buttonUpdate
|
|||
|
//
|
|||
|
buttonUpdate.Location = new Point(687, 183);
|
|||
|
buttonUpdate.Name = "buttonUpdate";
|
|||
|
buttonUpdate.Size = new Size(75, 23);
|
|||
|
buttonUpdate.TabIndex = 13;
|
|||
|
buttonUpdate.Text = "update";
|
|||
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|||
|
buttonUpdate.Click += buttonUpdate_Click;
|
|||
|
//
|
|||
|
// buttonDelete
|
|||
|
//
|
|||
|
buttonDelete.Location = new Point(687, 212);
|
|||
|
buttonDelete.Name = "buttonDelete";
|
|||
|
buttonDelete.Size = new Size(75, 23);
|
|||
|
buttonDelete.TabIndex = 14;
|
|||
|
buttonDelete.Text = "delete";
|
|||
|
buttonDelete.UseVisualStyleBackColor = true;
|
|||
|
buttonDelete.Click += buttonDelete_Click;
|
|||
|
//
|
|||
|
// FormService
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(buttonDelete);
|
|||
|
Controls.Add(buttonUpdate);
|
|||
|
Controls.Add(buttonCreate);
|
|||
|
Controls.Add(comboBoxEmployeesId);
|
|||
|
Controls.Add(textBoxCost);
|
|||
|
Controls.Add(textBoxTitle);
|
|||
|
Controls.Add(label4);
|
|||
|
Controls.Add(label2);
|
|||
|
Controls.Add(label1);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Name = "FormService";
|
|||
|
Text = "FormService";
|
|||
|
Load += FormService_Load;
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Label label1;
|
|||
|
private Label label2;
|
|||
|
private Label label4;
|
|||
|
private TextBox textBoxTitle;
|
|||
|
private TextBox textBoxCost;
|
|||
|
private ComboBox comboBoxEmployeesId;
|
|||
|
private Button buttonCreate;
|
|||
|
private Button buttonUpdate;
|
|||
|
private Button buttonDelete;
|
|||
|
}
|
|||
|
}
|