상속: INotifyPropertyChanged, IDisposable
예제 #1
0
		public StartHostCommand(MainWindowViewModel mainWindowViewModel)
		{
			if (mainWindowViewModel == null)
			{
				throw new ArgumentNullException("mainWindowViewModel");
			}

			MainWindowViewModel = mainWindowViewModel;

			MainWindowViewModel.PropertyChanged +=MainWindowViewModelOnPropertyChanged;
		}
예제 #2
0
 public ToggleRefreshCommand(MainWindowViewModel mainWindowViewModel)
 {
     MainWindowViewModel = mainWindowViewModel;
 }
        public ClearManagerTablesInDatabaseCommand(MainWindowViewModel mainWindowViewModel)
        {
            MainWindowViewModel = mainWindowViewModel;

            //MainWindowViewModel.PropertyChanged += MainWindowViewModel_PropertyChanged;
        }
예제 #4
0
		public StartDurationTestCommand(MainWindowViewModel mainWindowViewModel)
		{
			MainWindowViewModel = mainWindowViewModel;
		}
		public CancelDurationTestCommand(MainWindowViewModel mainWindowViewModel)
		{
			MainWindowViewModel = mainWindowViewModel;
		}
        public ClearLoggingTableInDatabaseCommand(MainWindowViewModel mainWindowViewModel)
        {
            MainWindowViewModel = mainWindowViewModel;

            //MainWindowViewModel.PropertyChanged += MainWindowViewModel_PropertyChanged;
        }