Exemple #1
0
 private void CloseProgressDialog()
 {
     if (_progressdialog != null) {
         _progressdialog.Close();
         _progressdialog = null;
     }
 }
Exemple #2
0
        /// <summary>
        /// Shows the progress dialog.
        /// </summary>
        private void ShowProgressDialog(string title, int totalitems)
        {
            if (_progressdialog != null)
                throw new ApplicationException("Progress dialog already open!");

            _progressdialog = new ProgressForm();

            _progressdialog.ResetDialog(title);
            _progressdialog.TotalProgress.Maximum = totalitems;
            _progressdialog.Show(this);
        }