ui/wpf/UIcore/Window.cs

changeset 135
b9dc9cdfa23a
parent 89
9a7e4a335b2b
child 137
c9b8b9e0cfe8
--- a/ui/wpf/UIcore/Window.cs	Sun Jan 22 11:48:50 2017 +0100
+++ b/ui/wpf/UIcore/Window.cs	Sun Jan 22 17:23:20 2017 +0100
@@ -85,14 +85,9 @@
             Closed += CloseEvent;
         }
 
-        public static MainWindow CreateMainWindow(String title, IntPtr uiobj)
-        {
-            return Application.GetInstance().Exec<MainWindow>(() => new MainWindow(title, uiobj));
-        }
-
         public void ShowWindow()
         {
-            Application.GetInstance().Exec(() => this.Show());
+            this.Show();
             Application.GetInstance().AddWindow(this);
         }
 

mercurial