public CustomAppointmentForm(SchedulerControl control, Appointment apt, bool openRecurrenceForm) { this.openRecurrenceForm = openRecurrenceForm; this.controller = new CustomAppointmentFormController(control, apt); this.apt = apt; this.control = control; // Required for Windows Form Designer support SuspendUpdate(); InitializeComponent(); ResumeUpdate(); UpdateForm(); // TODO: Add any constructor code after InitializeComponent call this.edResources.SchedulerControl = control; }
public CustomAppointmentForm(SchedulerControl control, Appointment apt) { this.controller = new CustomAppointmentFormController(control, apt); this.apt = apt; this.control = control; // Required for Windows Form Designer support SuspendUpdate(); InitializeComponent(); ResumeUpdate(); UpdateForm(); // TODO: Add any constructor code after InitializeComponent call dgvInvoices.AutoGenerateColumns = false; dgvPets.AutoGenerateColumns = false; carsDBDataSet.Pets.TableNewRow += new System.Data.DataTableNewRowEventHandler(Pets_TableNewRow); }