protected void StopProgressBar() { if (_progressIndicator != null) { _progressIndicator.Stop(); _progressIndicator.Close(); _progressIndicator = null; } }
protected void StartProgressBar() { _progressIndicator = new frmProgress(); _progressIndicator.ShowDialog(); }