private void MainForm_Load(object sender, EventArgs e) { parser = new IniParser(@".\FOnline2238.cfg"); LoadConfig(); KeyBinds.Init(listBoxBindings, parser); KeybindForm.LoadIndex(); }
public static void AddPressed() { tempBind = new KeyBind(); KeybindForm edit = new KeybindForm(tempBind, Items); index = -1; edit.ShowDialog(); }
public static void DoubleClick() { int idx = box.SelectedIndex; if (idx < 0) { return; } KeybindForm edit = new KeybindForm(Binds[idx], Items); index = idx; edit.ShowDialog(); }
public static void DoubleClick() { int idx = box.SelectedIndex; if (idx < 0) return; KeybindForm edit = new KeybindForm(Binds[idx], Items); index = idx; edit.ShowDialog(); }
public static void AddPressed() { tempBind=new KeyBind(); KeybindForm edit = new KeybindForm(tempBind, Items); index = -1; edit.ShowDialog(); }