public void CalibrateTable() { resetCalibrationStatus(); remoteViewModel.CalibrateTable(); if (ToogleCalibrationButtonImage.Equals("/resources/visible.png")) { ToogleCalibrationButtonImage = "/resources/hidden.png"; } NotifyOfPropertyChange("ToogleCalibrationButtonImage"); }
public void ToogleCalibration() { remoteViewModel.ToogleCalibration(); if (ToogleCalibrationButtonImage.Equals("/resources/hidden.png")) { ToogleCalibrationButtonImage = "/resources/visible.png"; } else { ToogleCalibrationButtonImage = "/resources/hidden.png"; } NotifyOfPropertyChange("ToogleCalibrationButtonImage"); }