private void button训练02_Click(object sender, EventArgs e) { try { //shfPracticeID = 7; //设置训练课程 shfUserLogin.LoginUnitID = Typing02UnitID;//设置训练内容 shfUnitPractice = shfUnitPractices.GetOne(Typing02UnitID); //uiTyping02Option f = new uiTyping02Option(this, shfUserLogin, shfUnitPrac); //f.Show(); //this.Hide(); } catch { this.Text = "button训练02_Click 异常! "; } }
private void EGLPABC_SendEmail_Load(object sender, EventArgs e) { try { btSHFUsers users = new btSHFUsers(); myUser = users.GetUserByRegistName(callMeLog.UserName); fromBox.Text = myUser.RegistEmail; toBox.Text = "282002237.qq.com"; titleBox.Text = myUser.UserCode + myUser.UserName + "《创意ABC EGLPABC082》工作文档V08-2.08"; btSHFUnitPractices pracs = new btSHFUnitPractices(); textBox.Text = pracs.GetOne(1).ToString(); } catch { } }
private void EGLPABC_SendEmail_Load(object sender, EventArgs e) { try { btSHFUsers users = new btSHFUsers(); myUser = users.GetUserByRegistName(callMeLog.UserName); fromBox.Text = myUser.RegistEmail; toBox.Text = "282002237.qq.com"; titleBox.Text = myUser.UserCode + myUser.UserName + "《创意ABC EGLPABC082》工作文档V08-2.08"; btSHFUnitPractices pracs = new btSHFUnitPractices(); textBox.Text = pracs.GetOne(1).ToString(); } catch { } }