Ejemplo n.º 1
0
 private void TreatDoctorMessage(TreatingDoctorView doc)
 {
     if (doc == null)
     {
         return;
     }
     TreatingDoctorView      = doc;
     IstreatingDoctorEnabled = false;
 }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 private void ClearDocTreatFeildExecute()
 {
     TreatingDoctorView      = new TreatingDoctorView();
     IstreatingDoctorEnabled = true;
 }