1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using Syst ...
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Draget='_blank'>wing; 6 using System.Text; 7 using System.Windows.Forms; 8 9 namespace Test0210 {11 public partial class Form1 : Form12 {13 public Form1()14 {15 InitializeComponent();16 }17 18 private void Form1_Load(object sender, EventArgs e)19 {20 this.AcceptButton = button1;21 }22 23 private void button1_Click(object sender, EventArgs e)24 {25 MessageBox.Show("引发了接受按钮1");26 }27 28 29 }30 }
海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com
原标题:this.AcceptButton = button1的用法:
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。