상속: System.Windows.Forms.Form
예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     // Edit hotkey
     if (dataGridView1.CurrentRow == null || dataGridView1.CurrentRow.Index < 0) return;
     var hk = Settings.Default.HotKeys.FirstOrDefault(x => x.HookId == (int)dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells["HookId"].Value);
     if (hk == null) return;
     _newHotkey = new NewHotkey(hk);
     _newHotkey.ShowDialog(this);
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     // Create new hotkey
     _newHotkey = new NewHotkey();
     _newHotkey.ShowDialog(this);
 }
예제 #3
0
 public CatchHotkey(NewHotkey parent)
 {
     InitializeComponent();
     _parent = parent;
     _hotkey = parent.HotkeyNew;
 }
 public CatchHotkey(NewHotkey parent)
 {
     InitializeComponent();
     _parent = parent;
     _hotkey = parent.HotkeyNew;
 }