/* Enter click */ private void RegistrationForm_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Register_btn.PerformClick(); } }
private void panel1_Click(object sender, EventArgs e) { RadioButton rad = (RadioButton)sender; radNum = rad.Text; Register_btn.Select(); UpLoadData(); }
/// <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(); }