![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
按钮递增递减 namespace 按钮递增递减 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } ____________; private void Form1_Load(object sender, EventArgs e) { __________; } private void button1_Click(object sender, EventArgs e) { count++; label1.Text = count.ToString("D8"); } private void button2_Click(object sender, EventArgs e) { __________; label1.Text = count.ToString("D8"); } private void button3_Click(object sender, EventArgs e) { string strMsg = "当前计数器=" + count.ToString("D8"); MessageBox.Show(strMsg, "提示"); } } }