/// <summary> /// Show the Plugin Revision Viewer Window /// </summary> public static void Show(IList<PluginRevision> revisions, string pluginClass) { Settings.homeWindow.ShowMask(); var revisionViewer = new ControlDialogs.PluginRevisionViewer(revisions, pluginClass) { Owner = Settings.homeWindow, WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner }; revisionViewer.ShowDialog(); Settings.homeWindow.HideMask(); }
/// <summary> /// Show the Plugin Revision Viewer Window /// </summary> public static void Show(IList<PluginRevision> revisions, string pluginClass) { App.AssemblyStorage.AssemblySettings.HomeWindow.ShowMask(); var revisionViewer = new PluginRevisionViewer(revisions, pluginClass) { Owner = App.AssemblyStorage.AssemblySettings.HomeWindow, WindowStartupLocation = WindowStartupLocation.CenterOwner }; revisionViewer.ShowDialog(); App.AssemblyStorage.AssemblySettings.HomeWindow.HideMask(); }