Beispiel #1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     parser = new IniParser(@".\FOnline2238.cfg");
     LoadConfig();
     KeyBinds.Init(listBoxBindings, parser);
     KeybindForm.LoadIndex();
 }
Beispiel #2
0
        public static void AddPressed()
        {
            tempBind = new KeyBind();
            KeybindForm edit = new KeybindForm(tempBind, Items);

            index = -1;
            edit.ShowDialog();
        }
Beispiel #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();
        }
Beispiel #4
0
 public static void DoubleClick()
 {
     int idx = box.SelectedIndex;
     if (idx < 0) return;
     KeybindForm edit = new KeybindForm(Binds[idx], Items);
     index = idx;
     edit.ShowDialog();
 }
Beispiel #5
0
 public static void AddPressed()
 {
     tempBind=new KeyBind();
     KeybindForm edit = new KeybindForm(tempBind, Items);
     index = -1;
     edit.ShowDialog();
 }