示例#1
0
 /// <summary>
 /// 關閉自動寫入功能
 /// </summary>
 private void Close_Auto_Write()
 {
     //啟用視窗操作
     this.Enabled = true;
     //設定進度條的進度為0
     Bar_Write.Value = 0;
     //顯示進度條
     Bar_Write.Visible = false;
     //開啟自動寫入計時器
     Timer_Write.Stop();
 }
示例#2
0
 /// <summary>
 /// 開啟自動寫入功能
 /// </summary>
 private void Open_Auto_Write()
 {
     //關閉視窗操作
     this.Enabled = false;
     //設定進度條的最大值為指令數量
     Bar_Write.Maximum = WriteSeq.Count;
     //顯示進度條
     Bar_Write.Visible = true;
     //開啟自動寫入計時器
     Timer_Write.Start();
 }