示例#1
0
        private void btnReport_Click(object sender, EventArgs e)
        {
            fReport frmReport = new fReport();

            frmReport.Submit(fromDate, toDate);
            frmReport.ShowPreviewDialog();
        }
示例#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();
        }