SIL.FieldWorks.Common.Controls.ProgressDialogWithTask.Step C# (CSharp) Method

Step() public method

Steps the specified number of steps.
public Step ( int cSteps ) : void
cSteps int The count of steps. If it's 0, step the default step size
return void
		public virtual void Step(int cSteps)
		{
			CheckDisposed();

			if (m_fCreatedProgressDlg && m_synchronizeInvoke.InvokeRequired)
			{
				m_synchronizeInvoke.Invoke((Action<int>)Step, new object[] {cSteps});
				return;
			}
			m_progressDialog.Position += (cSteps > 0) ? cSteps : m_progressDialog.StepSize;
		}