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