void ToAdd()//准备新增分组 { Operation = true; button1.Text = "确认新增"; textBox1.Text = ""; numericUpDown1.Value = 50; LB.ClearSelected(); LB.Focus(); }
void ToAdd() { Operation = true; button2.Text = "确认新增"; textBox1.Text = ""; dateTimePicker1.Value = DateTime.Now; checkBox1.Checked = false; LB.ClearSelected(); label2.Text = ""; label4.Text = ""; LB.Focus(); }