Пример #1
0
        public ButtonsViewModel()
        {
            MainWindowClick        = new MainCommand(this);
            TemperatureWindowClick = new TemperatureCommand(this);
            PressureWindowClick    = new PressureCommand(this);
            HumidityWindowClick    = new HumidityCommand(this);
            Messenger.Default.Register <MvvmMessage>(this, HandleMessage);

            DisableAllButtons();
            PlotIsVisible = Visibility.Hidden;
        }
Пример #2
0
 /// <summary>copy ctor</summary>
 /// <param name="other"></param>
 public PressureCommand(PressureCommand other)
     : base(other)
 {
 }