/* Enter click */
 private void RegistrationForm_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         Register_btn.PerformClick();
     }
 }
Example #2
0
        private void panel1_Click(object sender, EventArgs e)
        {
            RadioButton rad = (RadioButton)sender;

            radNum = rad.Text;
            Register_btn.Select();
            UpLoadData();
        }
Example #3
0
 /// <summary>
 /// 上传文件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void uploadBtn_click(object sender, EventArgs e)
 {
     //RadioButton rad = (RadioButton)sender;
     //radNum = rad.Text;
     Register_btn.Select();
     UpLoadData();
     serials = new List <SnClass>();
     LoadserialsDGV();
 }