Пример #1
0
        private static void CloseMigrationWindow()
        {
            if (migrationWindow == null)
            {
                return;
            }

            migrationWindow.Close();
            migrationWindow = null;
        }
Пример #2
0
 private static void MigrationStatusDialogRequested(SettingsMigrationEventArgs args)
 {
     if (args.EventStatus == SettingsMigrationEventArgs.EventStatusType.Begin)
     {
         migrationWindow = new SettingsMigrationWindow();
         migrationWindow.Show();
     }
     else if (args.EventStatus == SettingsMigrationEventArgs.EventStatusType.End)
     {
         CloseMigrationWindow();
     }
 }