Пример #1
0
 public ShellWindow()
 {
     Logger.InfoLog("ShellWindow:: Constructor");
     this.InitializeComponent();
     objMainWindowViewModel = new ShellWindowViewModel();
     this.DataContext = objMainWindowViewModel;
 }
Пример #2
0
 public static ShellWindowViewModel Instance()
 {
     if (_Instance == null)
     {
         lock (mLock)
         {
             if (_Instance == null)
             {
                 _Instance = new ShellWindowViewModel();
             }
         }
     }
     return _Instance;
 }
Пример #3
0
 public static ShellWindowViewModel Instance()
 {
     if (_Instance == null)
     {
         lock (mLock)
         {
             if (_Instance == null)
             {
                 _Instance = new ShellWindowViewModel();
             }
         }
     }
     return(_Instance);
 }