2024-05-29 14:28:53 +04:00
|
|
|
|
namespace HotelView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
numericUpDownPrice = new NumericUpDown();
|
|
|
|
|
label4 = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
textBoxName = new TextBox();
|
|
|
|
|
button3 = new Button();
|
|
|
|
|
button2 = new Button();
|
|
|
|
|
button1 = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownPrice
|
|
|
|
|
//
|
|
|
|
|
numericUpDownPrice.Location = new Point(508, 242);
|
|
|
|
|
numericUpDownPrice.Maximum = new decimal(new int[] { 100000, 0, 0, 0 });
|
|
|
|
|
numericUpDownPrice.Name = "numericUpDownPrice";
|
|
|
|
|
numericUpDownPrice.Size = new Size(280, 27);
|
|
|
|
|
numericUpDownPrice.TabIndex = 25;
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
label4.AutoSize = true;
|
|
|
|
|
label4.Location = new Point(529, 219);
|
|
|
|
|
label4.Name = "label4";
|
|
|
|
|
label4.Size = new Size(45, 20);
|
|
|
|
|
label4.TabIndex = 23;
|
|
|
|
|
label4.Text = "Цена";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(529, 104);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(125, 20);
|
|
|
|
|
label1.TabIndex = 20;
|
|
|
|
|
label1.Text = "Название услуги";
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
|
|
|
|
textBoxName.Location = new Point(508, 127);
|
|
|
|
|
textBoxName.Name = "textBoxName";
|
|
|
|
|
textBoxName.Size = new Size(280, 27);
|
|
|
|
|
textBoxName.TabIndex = 18;
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
button3.Location = new Point(700, 410);
|
|
|
|
|
button3.Name = "button3";
|
|
|
|
|
button3.Size = new Size(94, 29);
|
|
|
|
|
button3.TabIndex = 17;
|
|
|
|
|
button3.Text = "Удалить";
|
|
|
|
|
button3.UseVisualStyleBackColor = true;
|
|
|
|
|
button3.Click += ButtonDelete_Click;
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
button2.Location = new Point(600, 410);
|
|
|
|
|
button2.Name = "button2";
|
|
|
|
|
button2.Size = new Size(94, 29);
|
|
|
|
|
button2.TabIndex = 16;
|
|
|
|
|
button2.Text = "Изменить";
|
|
|
|
|
button2.UseVisualStyleBackColor = true;
|
|
|
|
|
button2.Click += ButtonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
button1.Location = new Point(500, 410);
|
|
|
|
|
button1.Name = "button1";
|
|
|
|
|
button1.Size = new Size(94, 29);
|
|
|
|
|
button1.TabIndex = 15;
|
|
|
|
|
button1.Text = "Добавить";
|
|
|
|
|
button1.UseVisualStyleBackColor = true;
|
|
|
|
|
button1.Click += ButtonCreate_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(6, 1);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(478, 448);
|
|
|
|
|
dataGridView.TabIndex = 14;
|
2024-05-30 13:12:02 +04:00
|
|
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
2024-05-29 14:28:53 +04:00
|
|
|
|
//
|
|
|
|
|
// FormService
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
|
|
|
|
Controls.Add(numericUpDownPrice);
|
|
|
|
|
Controls.Add(label4);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(textBoxName);
|
|
|
|
|
Controls.Add(button3);
|
|
|
|
|
Controls.Add(button2);
|
|
|
|
|
Controls.Add(button1);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Name = "FormService";
|
|
|
|
|
Text = "FormService";
|
|
|
|
|
Load += FormService_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private NumericUpDown numericUpDownPrice;
|
|
|
|
|
private Label label4;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private TextBox textBoxName;
|
|
|
|
|
private Button button3;
|
|
|
|
|
private Button button2;
|
|
|
|
|
private Button button1;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
}
|
|
|
|
|
}
|