示例#1
0
 public WindowTest(Action<Window> Init)
 {
     _WPFThreadingHelper = new WPFThreadingHelper(
         () =>
         {
             var window = new Window();
             NameScope.SetNameScope(window, new NameScope());
             Init(window);
             return window;
         }
         );
 }
 public WindowTest(Action <Window> Init)
 {
     _WPFThreadingHelper = new WPFThreadingHelper(
         () =>
     {
         var window = new Window();
         NameScope.SetNameScope(window, new NameScope());
         Init(window);
         return(window);
     }
         );
 }