public SpecializationListEdit(ISpecializationList specList) { InitializeComponent(); this.specList = specList; Init(); }
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; }
public SpecialistListEdit(ISpecialistList specList, ISpecializationList specializationList, IFactory entityFactory) { InitializeComponent(); this.specList = specList; this.entityFactory = entityFactory; this.SpecializationList = specializationList; doNothing = false; Init(); }
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; } }
public SpecializationsInfo(ISpecializationList SpecialisationsList) { InitializeComponent(); SpecializationList = SpecialisationsList; }
void specializationsInfo_OnSaveChanges(object source, SaveChangesEventArgs <ISpecializationList> e) { specList = e.Entity; }