public NewReportUC() { InitializeComponent(); CurrentVM = new FallReportVM(); this.DataContext = CurrentVM; SaveButton.IsEnabled = false; TimeDatePicker.Text = DateTime.Now.ToString(); PredictionAndRealFalls = PredictionAndRealFallsVM.Instance; }
public NewFallUC() { InitializeComponent(); CurrentVM = new FallsVM(); this.DataContext = CurrentVM; SaveButton.IsEnabled = true; TimeDatePicker.Text = DateTime.Now.ToString(); defaultPath = Image.Source; PredictionAndRealFalls = PredictionAndRealFallsVM.Instance; }