示例#1
0
 public EventsView(IHealthCenterService healthCenterService, IAccessTypeHandler accessTypeHandler)
 {
     InitializeComponent();
     PropertyChanged    += EventsView_PropertyChanged;
     Loaded             += EventsView_Loaded;
     HealthCenterService = healthCenterService;
     AccessTypeHandler   = accessTypeHandler;
 }
 public AccountsView(IHealthCenterService healthCenterService, IControlsFactory controlsFactory, IAccessTypeHandler accessTypeHandler)
 {
     InitializeComponent();
     OnAccountsCollectionLoaded += AccountsView_OnAccountsCollectionLoaded;
     HealthCenterService         = healthCenterService;
     ControlsFactory             = controlsFactory;
     AccessTypeHandler           = accessTypeHandler;
     InitializeData();
 }
示例#3
0
 public RecordsView(IHealthCenterService healthCenterService,
                    IAccessTypeHandler accessTypeHandler,
                    IControlsFactory controlsFactory)
 {
     InitializeComponent();
     HealthCenterService       = healthCenterService;
     AccessTypeHandler         = accessTypeHandler;
     ControlsFactory           = controlsFactory;
     OnPersonCollectionLoaded += RecordsView_OnPersonCollectionLoaded;
 }
示例#4
0
 public EventsFullView(IHealthCenterService healthCenterService,
                       IAccessTypeHandler accessTypeHandler,
                       IControlsFactory controlsFactory)
 {
     InitializeComponent();
     HealthCenterService = healthCenterService;
     AccessTypeHandler   = accessTypeHandler;
     ControlsFactory     = controlsFactory;
     Load += EventsFullView_Load;
 }
示例#5
0
 public OtherDetailsView(IHealthCenterService healthCenterService,
                         IAccessTypeHandler accessTypeHandler,
                         IControlsFactory controlsFactory)
 {
     InitializeComponent();
     HealthCenterService = healthCenterService;
     AccessTypeHandler   = accessTypeHandler;
     ControlsFactory     = controlsFactory;
     GatherDetails();
 }
示例#6
0
 public LoginView(IHealthCenterService healthCenterService,
                  IAccountContextService accountContextService,
                  IControlsFactory controlsFactory,
                  IAccessTypeHandler accessTypeHandler)
 {
     InitializeComponent();
     HealthCenterService   = healthCenterService;
     AccountContextService = accountContextService;
     ControlsFactory       = controlsFactory;
     AccessTypeHandler     = accessTypeHandler;
     OnControlPageChanged += LoginView_OnControlPageChanged;
 }
示例#7
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;
        }