This commit is contained in:
Salikh 2024-04-21 18:47:43 +04:00
parent 159b256bd5
commit 64b6aa85b1
3 changed files with 55 additions and 29 deletions

View File

@ -28,12 +28,33 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); label1 = new Label();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; SuspendLayout();
this.ClientSize = new System.Drawing.Size(800, 450); //
this.Text = "Form1"; // label1
//
label1.AutoSize = true;
label1.Location = new Point(87, 71);
label1.Name = "label1";
label1.Size = new Size(38, 15);
label1.TabIndex = 0;
label1.Text = "label1";
label1.Click += label1_Click;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(label1);
Name = "Form1";
Text = "Form1";
ResumeLayout(false);
PerformLayout();
} }
#endregion #endregion
private Label label1;
} }
} }

View File

@ -6,5 +6,10 @@ namespace HotelView
{ {
InitializeComponent(); InitializeComponent();
} }
private void label1_Click(object sender, EventArgs e)
{
}
} }
} }