Beispiel #1
0
        private void _helperService_OnProgress(ProgressBarEventArg progressBarEventArg)
        {
            if (progressBarControl.InvokeRequired)
            {
                progressBarControl.Invoke(new MethodInvoker(delegate { progressBarControl.Maximum = progressBarEventArg.Maximum; progressBarControl.Value = progressBarEventArg.IncreseVal; }));
            }

            if (lblStatusText.InvokeRequired)
            {
                lblStatusText.Invoke(new MethodInvoker(delegate { lblStatusText.Text = progressBarEventArg.Message; }));
            }
        }
Beispiel #2
0
 private void HelperService_OnProgress(ProgressBarEventArg progressBarEventArg)
 {
     //throw new System.NotImplementedException();
 }