Đang chuẩn bị liên kết để tải về tài liệu:
Developing a Simple Windows Application phần 2

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

// // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // } /// | Required for Windows Form Designer support InitializeComponent TODO Add any constructor code after InitializeComponent call summary Clean up any resources being used. summary protected override void Dispose bool disposing if disposing if 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.myLabel new System.Windows.Forms.Label this.myButton new System.Windows.Forms.Button this.SuspendLayout myLabel this.myLabel.Location new System.Drawing.Point 8 8 this.myLabel.Name myLabel this.myLabel.Size new System.Drawing.Size 288 184 this.myLabel.Tablndex 0 this.myLabel.Text labell myButton this.myButton.Location new System.Drawing.Point 120 200 this.myButton.Name myButton this.myButton.Size new System.Drawing.Size 72 24 this.myButton.TabIndex 1 this.myButton.Text Press Me this.myButton.Click new System.EventHandler this.myButton_Click Forml this.AutoScaleBaseSize new System.Drawing.Size 5 13 this.ClientSize new System.Drawing.Size 304 237 this.Controls.AddRange new System.Windows.Forms.Control this.myButton this.myLabel this.Name Forml this.Text My Form this.ResumeLayout false endregion summary The main entry point for the application. summary STAThread static void Main Application.Run new Form1 private void myButton_Click object sender System.EventArgs e myLabel.Text Is this a dagger which I see before me n The handle toward my hand Come let me clutch thee. n I have thee not and yet I see thee still. n Art thou not fatal vision sensible n To feeling as to sight or art thou but n A dagger of the mind a false creation n Proceeding from the heat-oppressed brain As you can see the Forml class is derived from the System.Windows.Forms.Form class. The Form class represents a Windows form. Note The System.Windows.Forms namespace contains the various classes for creating Windows

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.