this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnExit.Location = new System.Drawing.Point(320, 440); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(64, 24); this.btnExit.TabIndex = 1; this.btnExit.Text = "Exit"; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // btnRefresh // this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRefresh.Location = new System.Drawing.Point(248, 440); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(64, 24); this.btnRefresh.TabIndex = 2; this.btnRefresh.Text = "Refresh"; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // Sample // this.AcceptButton = this.btnRefresh; this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.CancelButton = this.btnExit; this.ClientSize = new System.Drawing.Size(392, 471); this.Controls.Add(this.btnRefresh); |
正在阅读:在.NET程序中使用PIPE(管道技术)在.NET程序中使用PIPE(管道技术)
2004-02-14 09:34
出处:PConline
责任编辑:linjixiong
键盘也能翻页,试试“← →”键