예제 #1
0
        public SpecializationListEdit(ISpecializationList specList)
        {
            InitializeComponent();

            this.specList = specList;
            Init();
        }
예제 #2
0
 public static void SetLists(ICabinetList cabinetList, ISpecialistList specialistList, ISpecializationList specializationList,
                             IClientList clientList, IFactory entityFactory)
 {
     ReceptionInfoEdit.cabinetList         = cabinetList;
     ReceptionInfoEdit.specialistList      = specialistList;
     ReceptionInfoEdit.specializationsList = specializationList;
     ReceptionInfoEdit.clientList          = clientList;
     ReceptionInfoEdit.entityFactory       = entityFactory;
 }
예제 #3
0
        public SpecialistListEdit(ISpecialistList specList, ISpecializationList specializationList, IFactory entityFactory)
        {
            InitializeComponent();

            this.specList           = specList;
            this.entityFactory      = entityFactory;
            this.SpecializationList = specializationList;
            doNothing = false;

            Init();
        }
예제 #4
0
 public static void SetLists(ICabinetList cabinetList, ISpecialistList specialistList, ISpecializationList specializationList,
                             IClientList clientList, IFactory entityFactory)
 {
     ReceptionInfoEdit.cabinetList         = cabinetList;
     ReceptionInfoEdit.specialistList      = specialistList;
     ReceptionInfoEdit.specializationsList = specializationList;
     ReceptionInfoEdit.clientList          = clientList;
     ReceptionInfoEdit.entityFactory       = entityFactory;
     if (entityFactory != null)
     {
         var ent = entityFactory.NewEntity();
         ent.ReceptionTimeInterval = entityFactory.NewTimeInterval();
         Scheduler_Controls.ReceptionInfo.DummyReception = ent;
     }
 }
예제 #5
0
 public SpecializationsInfo(ISpecializationList SpecialisationsList)
 {
     InitializeComponent();
     SpecializationList = SpecialisationsList;
 }
예제 #6
0
 void specializationsInfo_OnSaveChanges(object source, SaveChangesEventArgs <ISpecializationList> e)
 {
     specList = e.Entity;
 }