111,125
社区成员
发帖
与我相关
我的任务
分享
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(166, 184);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(58, 23);
this.btnOK.TabIndex = 3;
this.btnOK.Text = "OK";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnApply_Click); //就是这里,会莫名其妙
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(248, 183);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(58, 23);
this.btnCancel.TabIndex = 4;
this.btnCancel.Text = "Cancel";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnApply
//
this.btnApply.Enabled = false;
this.btnApply.Location = new System.Drawing.Point(330, 183);
this.btnApply.Name = "btnApply";
this.btnApply.Size = new System.Drawing.Size(58, 23);
this.btnApply.TabIndex = 5;
this.btnApply.Text = "Apply";
this.btnApply.UseVisualStyleBackColor = true;
this.btnApply.Click += new System.EventHandler(this.btnApply_Click);