示例#1
0
 public static bool HideWindow(OYS_Window window)
 {
     Instance?.Application.Dispatcher.Invoke(() =>
     {
         window.Hide();
     });
     return(true);
 }
示例#2
0
 public static bool WaitForWindowClose(OYS_Window window, Int32 Timeout = Int32.MaxValue)
 {
     Instance?.Application.Dispatcher.Invoke(() =>
     {
         window.WaitForClose(Timeout);
     });
     return(true);
 }
示例#3
0
 public static bool HideWindow(OYS_Window window) => UserInterfaceSingleton.HideWindow(window);
示例#4
0
 public static bool ShowWindow(OYS_Window window) => UserInterfaceSingleton.ShowWindow(window);
示例#5
0
 public static bool WaitForWindowClose(OYS_Window window) => UserInterfaceSingleton.WaitForWindowClose(window);
示例#6
0
 public static bool WaitForWindowLoad(OYS_Window window) => UserInterfaceSingleton.WaitForWindowCreation(window);
示例#7
0
 public static bool CloseWindow(OYS_Window window) => UserInterfaceSingleton.CloseWindow(window);