Пример #1
0
 public SanatoriumCreate()
 {
     InitializeComponent();
     this.SanatoriumModel  = new SanatoriumModel();
     this.sanatoriumFacade = new SanatoriumFacade(this);
     this.DataContext      = this;
 }
Пример #2
0
 public RecuperationPlan()
 {
     InitializeComponent();
     recuperationFacade = new RecuperationInformationFacade(this);
     sanatoriumFacade   = new SanatoriumFacade(this);
     DataContext        = this;
     InitData();
     SearchRecuperationPlan();
 }
 public SanatoriumUpdate(SanatoriumEntity sanatoriumEntity)
     : this()
 {
     this.sanatoriumEntity = sanatoriumEntity;
     this.sanatoriumFacade = new SanatoriumFacade(this);
     this.DataContext      = this;
     this.Loaded          += (obj, args) =>
     {
         InitData();
     };
 }
 public Sanatorium()
 {
     InitializeComponent();
     this.sanatoriumFacade      = new SanatoriumFacade(this);
     this.SanatoriumSearchModel = new SanatoriumSearchModel();
     this.DataContext           = this;
     this.Loaded += (obj, args) =>
     {
         this.InitTimer();
         this.InitTriggerAction();
         this.SearchSanatorium();
     };
 }
 public RecuperationInformation()
 {
     InitializeComponent();
     this.RecuperationInformationModel = new RecuperationInformationModel();
     this.DataContext                   = this;
     this.sanatoriumFacade              = new SanatoriumFacade(this);
     this.aviationMedicineFacade        = new AviationMedicineFacade(this);
     this.aircrewFacade                 = new AircrewFacade(this);
     this.recuperationInformationFacade = new RecuperationInformationFacade(this);
     this.InitData();
     this.InitTriggerAction();
     this.RecuperationInformationModel.PropertyChanged += RecuperationInformation_PropertyChanged;
 }
 public RecuperationInformationModify(int key)
 {
     InitializeComponent();
     this.key                     = key;
     sanatoriumFacade             = new SanatoriumFacade(this);
     aviationMedicineFacade       = new AviationMedicineFacade(this);
     aircrewFacade                = new AircrewFacade(this);
     recuperationFacade           = new RecuperationInformationFacade(this);
     RecuperationInformationModel = new RecuperationInformationModel();
     DataContext                  = this;
     InitData();
     InitTriggerAction();
     RecuperationInformationModel.PropertyChanged += RecuperationInformationModel_PropertyChanged;
 }