Пример #1
0
        private void ButtonCancel_Click(object sender, EventArgs e)
        {
            ListBox1.ClearSelected();
            CLearFields();
            ButtonAdd.Show();
            ButtonCLear.Show();

            ButtonSave.Hide();
            ButtonDell.Hide();
            ButtonCancel.Hide();
        }
Пример #2
0
 private void Button2_Click(object sender, EventArgs e)
 {
     ListBox1.ClearSelected(); //清除選取項目
 }