Exemple #1
0
 private void SelectAll(bool b)
 {
     for (int i = 0; i < List_Command.Items.Count; i++)
     {
         List_Command.SetSelected(i, b);
     }
 }
Exemple #2
0
        private void List_Command_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            int index = List_Command.IndexFromPoint(e.X, e.Y);

            List_Command.SelectedIndex = index;
            if (List_Command.SelectedIndex != -1)
            {
                this.SendBox.Text = List_Command.Items[index].ToString();
            }
        }