private static void ShowMainTrinityUIEventHandler(object sender, RoutedEventArgs routedEventArgs) { try { var configWindow = UILoader.GetDisplayWindow(); configWindow.ShowDialog(); } catch (Exception ex) { Logger.LogError("Error showing Configuration from TabUI:" + ex); } }
public static Window GetDisplayWindow() { return(UILoader.GetDisplayWindow(Path.Combine(FileManager.PluginPath, "UI"))); }