示例#1
0
 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);
     }
 }
示例#2
0
 public static Window GetDisplayWindow()
 {
     return(UILoader.GetDisplayWindow(Path.Combine(FileManager.PluginPath, "UI")));
 }