Exemple #1
0
        public static void AddPressed()
        {
            tempBind = new KeyBind();
            KeybindForm edit = new KeybindForm(tempBind, Items);

            index = -1;
            edit.ShowDialog();
        }
Exemple #2
0
        public static void DoubleClick()
        {
            int idx = box.SelectedIndex;

            if (idx < 0)
            {
                return;
            }
            KeybindForm edit = new KeybindForm(Binds[idx], Items);

            index = idx;
            edit.ShowDialog();
        }
Exemple #3
0
 public static void DoubleClick()
 {
     int idx = box.SelectedIndex;
     if (idx < 0) return;
     KeybindForm edit = new KeybindForm(Binds[idx], Items);
     index = idx;
     edit.ShowDialog();
 }
Exemple #4
0
 public static void AddPressed()
 {
     tempBind=new KeyBind();
     KeybindForm edit = new KeybindForm(tempBind, Items);
     index = -1;
     edit.ShowDialog();
 }