Exemplo n.º 1
0
 public uiCHSTRAS_091_Base(Form callForm, btSHFUserLogin callLog, btSHFUnitPractice callUnit)
     : base(callForm, callLog, callUnit)
 {
     InitializeComponent();
     times = new btCHSTRAS_091_Time();
     btCHSTRAS_091_Base bt = new btCHSTRAS_091_Base();
     String title = callUnit.UnitPracticeName;
     this.Text = title;
     this.labelPageTitle.Text = title;
     this.label课程信息.Text = bt.getClassInfo(callUnit);
     this.label程序信息.Text = bt.getProgramInfo(callUnit);
     startTime = DateTime.Now;
     this.labelBegin.Text += times.getTime(startTime);
     answeredNum = 1;
     this.labelAnswered.Text += answeredNum;
     this.timer1.Enabled = true;
 }