예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FacadeViewModel"/> class.
 /// </summary>
 public FacadeViewModel()
 {
     FacadeViewModel.GetInstance = this;
 }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the MainViewModel class.
        /// </summary>
        public MainViewModel(FacadeViewModel FacadeViewModel) : base(FacadeViewModel)
        {
            SelectChangedMenuCommand = new RelayCommand <SelectionChangedEventArgs>((s) => SelectChangedMenuExecute(s));

            Model = MainWindowModel.GetModel();
        }
예제 #3
0
 /// <summary>
 /// Views the model base.
 /// </summary>
 /// <param name="FacadeViewModel">The facade view model.</param>
 /// <returns></returns>
 public ViewModelBase(FacadeViewModel FacadeViewModel)
 {
     this.FacadeViewModel = FacadeViewModel;
 }