Exemplo n.º 1
0
        private void btnReport_Click(object sender, EventArgs e)
        {
            fReport frmReport = new fReport();

            frmReport.Submit(fromDate, toDate);
            frmReport.ShowPreviewDialog();
        }
Exemplo n.º 2
0
        private void btnReport_Click(object sender, EventArgs e)
        {
            DateTime checkIn  = Convert.ToDateTime(dtpkFromDate.Value);
            DateTime checkOut = Convert.ToDateTime(dtpkToDate.Value);
            fReport  fReport  = new fReport(checkIn, checkOut);

            fReport.Show();
        }