The view model for the main window.
Наследование: ViewModelBase
Пример #1
0
 public MasterView()
 {
     InitializeComponent();
     DataContext = new MasterViewModel(new SystemTray(this, new NotifyIcon()));
 }
Пример #2
0
 public MasterView()
 {
     InitializeComponent();
     View = this;
     DataContext = new MasterViewModel();
 }