Пример #1
0
 public static void CreateMain()
 {
     if (_main == null)
         _main = Kernel.Get<MainViewModel>();
 }
Пример #2
0
 public static void ClearMain()
 {
     _main.Cleanup();
     _main = null;
 }