コード例 #1
0
 private void Edit_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Space)
     {
         Memo.Focus();
     }
     else if (e.KeyCode == Keys.Enter)
     {
         Save_Button_Click(sender, e);
     }
     else if (e.KeyCode == Keys.Escape)
     {
         this.Close();
     }
 }