private void monthlyReportsToolStripMenuItem_Click(object sender, EventArgs e) { FormPrint childForm = new FormPrint(); childForm.MdiParent = this; //childForm.Text = "Window " + childFormNumber++; childForm.WindowState = FormWindowState.Maximized; childForm.Show(); }
private void PrintReport() { FormPrint print = new FormPrint(); print.Owner = this; print.PrintState = 1; print.ReportName = "PreVerification.rpt"; print.table = table; print.WindowState = FormWindowState.Maximized; print.Show(); //throw new NotImplementedException(); }
private void btnPrint_Click(object sender, EventArgs e) { FormPrint formPrint = new FormPrint(); formPrint.Owner = this; formPrint.ReportName = "DistributionReport.rpt"; GetDistributedData(); formPrint.table = table; formPrint.PrintState = 1; formPrint.WindowState = FormWindowState.Maximized; formPrint.Show(); }