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

            index = -1;
            edit.ShowDialog();
        }
Example #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();
        }
Example #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();
 }
Example #5
0
 public static void AddPressed()
 {
     tempBind=new KeyBind();
     KeybindForm edit = new KeybindForm(tempBind, Items);
     index = -1;
     edit.ShowDialog();
 }