Пример #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);
     }
 }
Пример #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);
            }
        }
Пример #3
0
 private void TodayPayRecords_Load(object sender, EventArgs e)
 {
     RecordAccess.todayRecords(dataGridRecords);
 }
Пример #4
0
 private void btnViewTodayAll_Click(object sender, EventArgs e)
 {
     lblTotal.Visible   = false;
     checkTotal.Checked = false;
     RecordAccess.todayRecords(dataGridRecords);
 }