public CUFormDTO(DbAppContext db, CrudOpr opr, T obj, UserDataDTO userData) { this.contex = db; this.op = opr; this.obj = obj; this.userData = userData; }
public CreateUpdateScientistForm(BaseForm caller, CUFormDTO <ViewScientist> form) { this.caller = caller; //caller.Hide(); this.formDTO = form; this.crudOp = form.op; this.db = form.contex; InitializeComponent(); }
public CreateUpdateConferenceForm(BaseForm form, CUFormDTO <conference> formDTO) { caller = form; //form.Hide(); InitializeComponent(); this.db = formDTO.contex; conferenceDTO = new ConferenceDTO(); crud = new ConferenceCrud(db); addressCrud = new AddressCrud(db); countryCrud = new CountryCrud(db); currentCrudOp = formDTO.op; this.formDTO = formDTO; }
public CreateUpdateParticipantForm(BaseForm form, CUFormDTO <ViewConferencesWithParticipant> formDTO) { caller = form; //form.Hide(); InitializeComponent(); this.db = formDTO.contex; participantDTO = new ParticipantDTO(); crud = new ParticipantCrud(db); subjectCrud = new SubjectCrud(db); currentCrudOp = formDTO.op; this.formDTO = formDTO; isChecked = false; }
public CarOperationForm(DataFormDTO dataFormDTO, FormDTO <ViewCar> dto) { this.dataFormDTO = dataFormDTO; //dataFormDTO.caller.Hide(); this.crudOpr = dto.op; this.usage = dto.usage; switch (usage) { case FormUsage.Update: case FormUsage.CheckOrder: this.dto = dto; break; } InitializeComponent(); }
public FormDTO(FormUsage usage, CrudOpr opr, T obj) { this.usage = usage; this.op = opr; this.obj = obj; }
public CUScientistFormDTO(DbAppContext db, CrudOpr opr, ViewScientist obj, UserDataDTO userData) : base(db, opr, obj, userData) { }
public CUParticipantFormDTO(DbAppContext db, CrudOpr opr, ViewConferencesWithParticipant obj, UserDataDTO userData) : base(db, opr, obj, userData) { }
public CUConferenceFormDTO(DbAppContext db, CrudOpr opr, conference obj, UserDataDTO userData) : base(db, opr, obj, userData) { }
public CUCompanyFormDTO(DbAppContext db, CrudOpr opr, ViewCompany obj, UserDataDTO userData) : base(db, opr, obj, userData) { }
public CarOperationDTO(FormUsage usage, CrudOpr opr, ViewCar obj) : base(usage, opr, obj) { }