예제 #1
0
 private void btnAbout_Click(object sender, EventArgs e)
 {
     using (var w = new frmAbout())
     {
         w.ShowDialog(this);
     }
 }
 private void btnAbout_Click(object sender, EventArgs e)
 {
     using (var w = new frmAbout())
     {
         w.ShowDialog(this);
     }
 }
 protected override void OnKeyDown(KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F1)
     {
         e.Handled = true;
         using (var f = new frmAbout())
         {
             f.ShowDialog(this);
         }
     }
     else if (e.KeyCode == Keys.F9)
     {
         e.Handled = true;
         PasteAndGo();
     }
     base.OnKeyDown(e);
 }
예제 #4
0
 protected override void OnKeyDown(KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F1)
     {
         e.Handled = true;
         using (var f = new frmAbout())
         {
             f.ShowDialog(this);
         }
     }
     else if (e.KeyCode == Keys.F9)
     {
         e.Handled = true;
         PasteAndGo();
     }
     base.OnKeyDown(e);
 }