Exemple #1
0
 private void btnViewTaller_Click(object sender, EventArgs e)
 {
     try
     {
         var viewTaller = new ViewTallerForm(StudNames, FeeName, PAmount, Pdate);
         viewTaller.ShowDialog();
     }catch (Exception)
     {
         MessageBox.Show("something went wrong, try again", "Cash Desk", MessageBoxButtons.OK,
                         MessageBoxIcon.Information);
     }
 }
Exemple #2
0
 private void dataGridTallerView_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         var ID = Convert.ToInt32(dataGridTallerView.SelectedRows[0].Cells[0].Value.ToString());
         DisplayTaller.tallerID = ID.ToString();
         names   = dataGridTallerView.SelectedRows[0].Cells[1].Value.ToString();
         feeName = dataGridTallerView.SelectedRows[0].Cells[3].Value.ToString();
         amount  = dataGridTallerView.SelectedRows[0].Cells[4].Value.ToString();
         Ddate   = dataGridTallerView.SelectedRows[0].Cells[7].Value.ToString();
         var viewTaller = new ViewTallerForm(names, feeName, amount, Ddate);
         viewTaller.ShowDialog();
     }catch (Exception) { }
 }
Exemple #3
0
        private void btnViewTaller_Click(object sender, EventArgs e)
        {
            var viewTaller = new ViewTallerForm(names, feeName, amount, Ddate);

            viewTaller.ShowDialog();
        }
Exemple #4
0
        private void btnViewTaller_Click(object sender, EventArgs e)
        {
            var viewTaller = new ViewTallerForm(StudNames, FeeName, PAmount, dDate);

            viewTaller.ShowDialog();
        }