private void button16_Click(object sender, EventArgs e) { PrintReservationInvoice printReservationInvoice = new PrintReservationInvoice(Model); printReservationInvoice.Dock = DockStyle.Fill; printReservationInvoice.MdiParent = this.MdiParent; printReservationInvoice.Show(); printReservationInvoice.WindowState = FormWindowState.Maximized; }
private void printInvoiceReservationButton_Click(object sender, EventArgs e) { PrintReservationInvoice form = new PrintReservationInvoice(Model); form.Dock = DockStyle.Fill; form.MdiParent = this.MdiParent; form.Show(); form.WindowState = FormWindowState.Maximized; }