private void button找寻错误_Click(object sender, EventArgs e) { try { uiCHSTRAS_091_Fault f = new uiCHSTRAS_091_Fault(this, shfUserLogin, shfUnitPractice, courseType); f.Show(); } catch (Exception exception)// Exception ex { MessageBox.Show("Exception:" + exception.ToString()); } }
private void button找寻错误_Click(object sender, EventArgs e) { myUnitPrac = myUnitPracs.GetOne(6); // 按键练习的训练ID是 6; uiCHSTRAS_091_Fault f = new uiCHSTRAS_091_Fault(this, myUserLogin, myUnitPrac, 1); f.Show(); }