private static Control CreateControlInstance()
        {
            BSE.Windows.Forms.ProgressBar progressBar = new BSE.Windows.Forms.ProgressBar();
            progressBar.Size = new Size(100, 15);

            return progressBar;
        }
 public bool isvisable(BSE.Windows.Forms.ProgressBar p)
 {
     if (p.Maximum <= p.Value)
     {
         return(false);
     }
     return(true);
 }
Beispiel #3
0
 //提示信息
 void SetValue(BSE.Windows.Forms.ProgressBar lv, int value)
 {
     if (!lv.InvokeRequired)
     {
         lv.Value = value;
     }
     else
     {
         // 多线程调用时,通过主线程去访问
         DeSetValue de = SetValue;
         this.Invoke(de, lv, value);
     }
 }
        private static Control CreateControlInstance()
        {
            BSE.Windows.Forms.ProgressBar progressBar = new BSE.Windows.Forms.ProgressBar();
            progressBar.Size = new Size(100, 15);

            return progressBar;
        }