Esempio n. 1
0
        private void btnReportsInventory1_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            Form fx = new frmReportViewer1(ReportHelper1.LoadInventoryStatus());

            fx.MdiParent   = this;
            fx.WindowState = FormWindowState.Maximized;
            fx.Show();
            Cursor = Cursors.Default;
        }
Esempio n. 2
0
        private void btnReportsPaymentVendor_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            frmReportCriteria1 fc  = new frmReportCriteria1();
            DialogResult       res = fc.ShowDialog();

            if (res == DialogResult.OK)
            {
                Form fx = new frmReportViewer1(ReportHelper1.LoadPurchasePaymentByVendor(fc.PeriodStart, fc.PeriodEnd));
                fx.MdiParent   = this;
                fx.WindowState = FormWindowState.Maximized;
                fx.Show();
            }
            Cursor = Cursors.Default;
        }
Esempio n. 3
0
        private void btnReportsInventory_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            frmReportCriteria2 fc  = new frmReportCriteria2();
            DialogResult       res = fc.ShowDialog();

            if (res == DialogResult.OK)
            {
                Form fx = new frmReportViewer1(ReportHelper1.LoadInventoryMutation(fc.SelectedID));
                fx.MdiParent   = this;
                fx.WindowState = FormWindowState.Maximized;
                fx.Show();
            }
            Cursor = Cursors.Default;
        }