Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }