public FormWaitMarquee(ICancelableAsync _client) { client = _client; InitializeComponent(); // set MarqueeAnimationSpeed progressBar1.Style = ProgressBarStyle.Marquee; progressBar1.MarqueeAnimationSpeed = 30; progressBar1.Visible = true; }
} // 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; } }
public HelperInterruptibleWorker(ICancelableAsync _client, ICancelableForm _f) { client = _client; f = _f; }