Ejemplo n.º 1
0
        public FormWaitMarquee(ICancelableAsync _client)
        {
            client = _client;

            InitializeComponent();
            // set MarqueeAnimationSpeed
            progressBar1.Style = ProgressBarStyle.Marquee;
            progressBar1.MarqueeAnimationSpeed = 30;
            progressBar1.Visible = true;
        }
Ejemplo n.º 2
0
        }                                       // Indicates if form is already set to be closed

        public FormWait(ICancelableAsync _client, int numOfRows)
        {
            client = _client;

            InitializeComponent();
            progressBar1.Value = 0;
            currentValueF      = 0;
            ProgresBarValue    = 0;
            if (numOfRows != 0)
            {
                step = 100 / (float)numOfRows;
            }
        }
Ejemplo n.º 3
0
 public HelperInterruptibleWorker(ICancelableAsync _client, ICancelableForm _f)
 {
     client = _client;
     f      = _f;
 }