Esempio n. 1
0
        private void btnPrint_Click(object sender, EventArgs e)
        {
            FrmReportView rep = new FrmReportView();

            if (checkBox1.Checked)
            {
                rep.PrintReportReatreatProduct(prods, dateTimePicker1.Value.ToShortDateString(), dateTimePicker2.Value.ToShortDateString());
            }
            else
            {
                rep.PrintReportReatreatProduct(prods);
            }
            rep.Show();
        }