public void ShowProgressDialog() { if (!_opened) { _opened = true; _progressDialog.Show(); } else { _progressDialog.Focus(); _progressDialog.BringToFront(); _progressDialog.Activate(); } }