Example #1
0
 private void txtSearch_TextChanged(object sender, EventArgs e)
 {
     lblTotal.Visible   = false;
     checkTotal.Checked = false;
     RecordAccess.todaySeacrchRecords(dataGridRecords, txtSearch);
     if (string.IsNullOrEmpty(txtSearch.Text))
     {
         RecordAccess.todayRecords(dataGridRecords);
     }
 }
Example #2
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            try
            {
                if (string.IsNullOrEmpty(txtSearch.Text))
                {
                    throw new Exception("Enter the Fee Name");
                }

                RecordAccess.todayRecords(dataGridRecords);
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message, "Search Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Example #3
0
 private void TodayPayRecords_Load(object sender, EventArgs e)
 {
     RecordAccess.todayRecords(dataGridRecords);
 }
Example #4
0
 private void btnViewTodayAll_Click(object sender, EventArgs e)
 {
     lblTotal.Visible   = false;
     checkTotal.Checked = false;
     RecordAccess.todayRecords(dataGridRecords);
 }