Exemple #1
0
 /// <summary>
 /// 更新状态栏
 /// </summary>
 private void UpdateStatus(Model.DoState doState)
 {
     this.toolStripStatusLabel2.Text  = doState.ToString();
     this.toolStripProgressBar1.Value = (int)doState.DoPercent;
     if (doState.CurrentCount == doState.SumCount)
     {
         this.btnSave.Enabled = true;
         this.txtLog.AppendText("文件已全部处理完毕!" + Environment.NewLine);
         this.dgFiles.DataSource = XCLNetTools.DataSource.DataTableHelper.ToDataTable(this.v_fileBLL.GetAllList());
     }
 }
Exemple #2
0
 /// <summary>
 /// 初始化状态栏
 /// </summary>
 private void InitStatus()
 {
     Model.DoState doState = new Model.DoState();
     this.toolStripStatusLabel2.Text  = doState.ToString();
     this.toolStripProgressBar1.Value = (int)doState.DoPercent;
 }
Exemple #3
0
 /// <summary>
 /// 初始化状态栏
 /// </summary>
 private void InitStatus()
 {
     Model.DoState doState = new Model.DoState();
     this.toolStripStatusLabel2.Text = doState.ToString();
     this.toolStripProgressBar1.Value = (int)doState.DoPercent;
 }