Exemplo n.º 1
0
 internal void SetDialogs(DialogPack dialogs)
 {
     _settingsDialog = dialogs.SettingsDialog;
     _aboutDialog = dialogs.AboutDialog;
     _progressDialog = dialogs.ProgressDialog;
 }
Exemplo n.º 2
0
        internal static ProgressDialogResult ExecuteInternal(CushWindow owner, string title, object operation,
            ProgressDialogSettings settings)
        {
            var dialog = new ProgressDialog(owner, settings);

            if (!string.IsNullOrEmpty(title))
                dialog.Title = title;

            return dialog.Execute(operation);
        }