Esempio n. 1
0
 public EventsView(IHealthCenterService healthCenterService, IAccessTypeHandler accessTypeHandler)
 {
     InitializeComponent();
     PropertyChanged    += EventsView_PropertyChanged;
     Loaded             += EventsView_Loaded;
     HealthCenterService = healthCenterService;
     AccessTypeHandler   = accessTypeHandler;
 }
Esempio n. 2
0
 public AccountsView(IHealthCenterService healthCenterService, IControlsFactory controlsFactory, IAccessTypeHandler accessTypeHandler)
 {
     InitializeComponent();
     OnAccountsCollectionLoaded += AccountsView_OnAccountsCollectionLoaded;
     HealthCenterService         = healthCenterService;
     ControlsFactory             = controlsFactory;
     AccessTypeHandler           = accessTypeHandler;
     InitializeData();
 }
Esempio n. 3
0
 public ManagePersonPage(IHealthCenterService healthCenterService)
 {
     InitializeComponent();
     BeforeSaveAction = () =>
     {
         SetModelData();
     };
     HealthCenterService = healthCenterService;
 }
Esempio n. 4
0
 public RecordsView(IHealthCenterService healthCenterService,
                    IAccessTypeHandler accessTypeHandler,
                    IControlsFactory controlsFactory)
 {
     InitializeComponent();
     HealthCenterService       = healthCenterService;
     AccessTypeHandler         = accessTypeHandler;
     ControlsFactory           = controlsFactory;
     OnPersonCollectionLoaded += RecordsView_OnPersonCollectionLoaded;
 }
Esempio n. 5
0
 public EventsFullView(IHealthCenterService healthCenterService,
                       IAccessTypeHandler accessTypeHandler,
                       IControlsFactory controlsFactory)
 {
     InitializeComponent();
     HealthCenterService = healthCenterService;
     AccessTypeHandler   = accessTypeHandler;
     ControlsFactory     = controlsFactory;
     Load += EventsFullView_Load;
 }
Esempio n. 6
0
 public OtherDetailsView(IHealthCenterService healthCenterService,
                         IAccessTypeHandler accessTypeHandler,
                         IControlsFactory controlsFactory)
 {
     InitializeComponent();
     HealthCenterService = healthCenterService;
     AccessTypeHandler   = accessTypeHandler;
     ControlsFactory     = controlsFactory;
     GatherDetails();
 }
Esempio n. 7
0
        public ManageConsultationPage(IHealthCenterService healthCenterService)
        {
            InitializeComponent();
            BeforeSaveAction = () =>
            {
                SetModelData();
            };

            OnAilmentsLoaded   += ManageConsultationPage_OnAilmentsLoaded;
            HealthCenterService = healthCenterService;
        }
Esempio n. 8
0
 public LoginView(IHealthCenterService healthCenterService,
                  IAccountContextService accountContextService,
                  IControlsFactory controlsFactory,
                  IAccessTypeHandler accessTypeHandler)
 {
     InitializeComponent();
     HealthCenterService   = healthCenterService;
     AccountContextService = accountContextService;
     ControlsFactory       = controlsFactory;
     AccessTypeHandler     = accessTypeHandler;
     OnControlPageChanged += LoginView_OnControlPageChanged;
 }
Esempio n. 9
0
        public NavigationView(IControlsFactory controlsFactory,
                              IAccountContextService accountContextService,
                              IHealthCenterService healthCenterService,
                              IAccessTypeHandler accessTypeHandler)
        {
            InitializeComponent();

            ControlsFactory       = controlsFactory;
            AccountContextService = accountContextService;
            HealthCenterService   = healthCenterService;
            AccessTypeHandler     = accessTypeHandler;
            var records = ControlsFactory.Resolve <RecordsView>();

            OnUserControlChanged += NavigationView_OnUserControlChanged;
        }
Esempio n. 10
0
        public ManageCreateNewConsultationPage(IControlsFactory controlsFactory, IHealthCenterService healthCenterService)
        {
            InitializeComponent();


            ControlsFactory     = controlsFactory;
            HealthCenterService = healthCenterService;

            BeforeSaveAction = () =>
            {
                SetModelData();
            };
            OnAilmentsLoaded += ManageConsultationPage_OnAilmentsLoaded;

            LoadData();
        }
Esempio n. 11
0
 public PersonSelectorPage(IHealthCenterService healthCenterService)
 {
     InitializeComponent();
     HealthCenterService = healthCenterService;
     LoadData();
 }
Esempio n. 12
0
 public ForgotPassword(IHealthCenterService healthCenterService)
 {
     InitializeComponent();
     HealthCenterService = healthCenterService;
 }