public static void SelectTheme() { if (themeDialog == null) { themeDialog = new ThemeDialog(); themeDialog.FormClosed += OnThemeDialogClosed; themeDialog.Show(); } else { themeDialog.Activate(); } }
public static void SelectTheme() { if (themeDialog == null) { themeDialog = new ThemeDialog(); themeDialog.FormClosed += OnThemeDialogClosed; themeDialog.Show(); } else { themeDialog.Activate(); } if (importPaths.Count > 0) { List <string> tempImportPaths = new List <string>(importPaths.ToArray()); importPaths.Clear(); themeDialog.ImportThemes(tempImportPaths); } }