private void TreatDoctorMessage(TreatingDoctorView doc) { if (doc == null) { return; } TreatingDoctorView = doc; IstreatingDoctorEnabled = false; }
public TreatDoctor() { Messenger.Default.Register(this, "TreatDoctorTreatingDoctorView", new Action <TreatingDoctorView>(TreatDoctorMessage)); Messenger.Default.Register(this, "TreatDoctorCountry", new Action <Country>(CountryCallerMessage)); Messenger.Default.Register(this, "TreatDoctorRegion", new Action <Region>(RegionCallerMessage)); Messenger.Default.Register(this, "TreatDoctorCity", new Action <City>(CityCallerMessage)); _country = new Country(); _region = new Region(); _city = new City(); _treatingDoctorView = new TreatingDoctorView(); }
private void ClearDocTreatFeildExecute() { TreatingDoctorView = new TreatingDoctorView(); IstreatingDoctorEnabled = true; }