public ReceptionController(IReception reception, IService service, IPayment payment, ReportLogic report) { _reception = reception; _service = service; _payment = payment; _report = report; }
public ReceptionInfo(IEnumerable <ICabinet> cabinetList, IEnumerable <ISpecialist> specialistList, IEnumerable <string> specialisationList, IReception reception, ShowModes mode = ShowModes.CreateNew) { InitializeComponent(); this.mode = mode; SetMode(); this.cabinetList = cabinetList; this.specialistList = specialistList; this.specialisationList = specialisationList; this.reception = reception; InitializeReceptionInfo(); }
void ShowReceptionEditForm(IReception reception2Edit) { using (Scheduler_Forms.ReceptionInfoEdit receptionForm = new Scheduler_Forms.ReceptionInfoEdit()) { receptionForm.Mode = ReceptionInfo.ShowModes.ReadExist; receptionForm.Reception = reception2Edit; if (receptionForm.ShowDialog() == DialogResult.OK) { reception2Edit.CommitToDatabase(); } } }
public PresenterReception(IReception view, Model model) { this.view = view; this.model = model; this.view.GetInfo += View_GetInfo; this.view.SelectEmployees += View_SelectEmployees; this.view.SelectRents += View_SelectRents; this.view.SelectRooms += View_SelectRooms; this.view.SelectRoomsFilter += View_SelectRoomsFilter; this.view.InsertRent += View_InsertRent; this.view.InsertRoom += View_InsertRoom; this.view.InsertEmployee += View_InsertEmployee; this.view.UpdateEmployee += View_UpdateEmployee; this.view.UpdateRent += View_UpdateRent; this.view.UpdateRoom += View_UpdateRoom; this.view.DeleteEmployee += View_DeleteEmployee; this.view.DeleteRent += View_DeleteRent; this.view.DeleteRoom += View_DeleteRoom; }
public ReportLogic(IService serviceLogic, IReception receptionLogic, IPayment paymentLogic) { this.serviceLogic = serviceLogic; this.receptionLogic = receptionLogic; this.paymentLogic = paymentLogic; }
public LittleVehiclesViewUserControl(IReception <Vehicle> reception, CloseAction closeAction) : this() { _reception = reception; _closeAction = closeAction; }