コード例 #1
0
 private void txtsearch_TextChanged(object sender, EventArgs e)
 {
     checkTotal.Checked = false;
     lblTotal.Visible   = false;
     DailyReports.SearchDailyReport(dataGridRecordsReport, txtsearch);
     if (string.IsNullOrEmpty(txtsearch.Text))
     {
         report.DisplayReports(dataGridRecordsReport);
     }
 }
コード例 #2
0
 private void dateTimeTo_ValueChanged(object sender, EventArgs e)
 {
     try
     {
         DailyReports.SearchDailyReport(dataGridRecordsReport, dateTimeFrom, dateTimeTo);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Search Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #3
0
 private void dateTimeFrom_ValueChanged(object sender, EventArgs e)
 {
     checkTotal.Checked = false;
     lblTotal.Visible   = false;
     DailyReports.SearchDailyReport(dataGridRecordsReport, dateTimeFrom);
 }
コード例 #4
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     checkTotal.Checked = false;
     lblTotal.Visible   = false;
     DailyReports.SearchDailyReport(dataGridRecordsReport, dateTimeFrom, dateTimeTo, txtsearch);
 }