private void ShowExportProfiles()
 {
     if (_scanner.ModifiedProfiles.Count > 0)
     {
         var frmExport = new frmExportProfiles();
         frmExport.ShowDialog(this);
     }
     else
     {
         MessageBox.Show("No user modified profiles found! Nothing to export.", "Userprofile Search", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Beispiel #2
0
        private void frmDrvSettings_OnModifiedScanDoneAndShowExport()
        {
            InvokeUi(this, () =>
            {
                pbMain.Value   = 0;
                pbMain.Enabled = false;
                SetTaskbarProgress(0);

                if (_scanner.ModifiedProfiles.Count > 0)
                {
                    var frmExport = new frmExportProfiles();
                    frmExport.ShowDialog(this);
                }
                else
                {
                    MessageBox.Show("No user modified profiles found! Nothing to export.", "Userprofile Search", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }

                RefreshModifiesProfilesDropDown();
                tsbRefreshProfile.Enabled = true;
            });
        }