Exemple #1
0
 private void grid1_Btn执行命令1Click(object sender, EventArgs e)
 {
     this.progressBarControl1.EditValue = 0;
     this.grid1.新增记录按钮CAPTION           = "停止采集";
     logic.StartGather("启动试验");
     thead = new System.Threading.Thread(this.Run);
     thead.IsBackground = true;
     thead.Start();
 }
Exemple #2
0
 private void grid1_Btn执行命令1Click(object sender, EventArgs e)
 {
     if (this.grid1.执行命令按钮CAPTION == "自动采集")
     {
         this.grid1.执行命令按钮CAPTION = "停止采集";
         logic.StartGather("温升试验");
     }
     else
     {
         logic.EndGather("温升试验");
     }
 }