public HexaDecimalDigitViewModel() { _clock = new HexaDecimalDigitModel(); _clock.Now = 0xf; DebugCommand = new RelayCommand(() => { if (this._clock != null) _clock.UpdateNow(); }); }
public HexaDecimalDigitViewModel() { _clock = new HexaDecimalDigitModel(); _clock.Now = 0xf; DebugCommand = new RelayCommand(() => { if (this._clock != null) { _clock.UpdateNow(); } }); }
public void OnPropertyChanged(HexaDecimalDigitModel.EUnits unit_in) { OnPropertyChanged(unit_in.ToString()); OnPropertyChanged(String.Format("{0}Visibility", unit_in.ToString())); }