62 lines
2.0 KiB
C#
62 lines
2.0 KiB
C#
namespace DelegateDemo
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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()
|
|
{
|
|
this.myButton = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// myButton
|
|
//
|
|
this.myButton.Location = new System.Drawing.Point(93, 45);
|
|
this.myButton.Name = "myButton";
|
|
this.myButton.Size = new System.Drawing.Size(75, 23);
|
|
this.myButton.TabIndex = 0;
|
|
this.myButton.Text = "Click Me";
|
|
this.myButton.UseVisualStyleBackColor = true;
|
|
this.myButton.Click += new System.EventHandler(this.myButton_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(261, 112);
|
|
this.Controls.Add(this.myButton);
|
|
this.Name = "Form1";
|
|
this.Text = "Delegate Demo";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button myButton;
|
|
}
|
|
}
|
|
|