コード例 #1
0
 private void FORM_MAIN_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Enter)
     {
         // Your logic here....
         FORM_LOGIN form = new FORM_LOGIN();
         form.ShowDialog();
     }
 }
コード例 #2
0
        private void tool_login_Click(object sender, EventArgs e)
        {
            FORM_LOGIN FORM = new FORM_LOGIN();

            FORM.ShowDialog();
        }