private void viewAll_Click(object sender, EventArgs e)
 {
     show_transaction_details showAllTrans = new show_transaction_details();
     showAllTrans.Location = new Point(620, 150);
     showAllTrans.MdiParent = this.MdiParent;
     showAllTrans.Show();
 }
Example #2
0
 private void btnMyAccDetails_Click(object sender, EventArgs e)
 {
     while (ActiveMdiChild != null)
         ActiveMdiChild.Close();
     show_transaction_details showAllTrans = new show_transaction_details();
     showAllTrans.Location = new Point(280, 130);
     showAllTrans.MdiParent = this;
     showAllTrans.Show();
 }
Example #3
0
 private void label1_Click(object sender, EventArgs e)
 {
     show_transaction_details st = new show_transaction_details();
     st.Show();
     this.Hide();
 }
Example #4
0
 private void dataGridView2_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dataGridView2.Rows[e.RowIndex].Cells[0].Value.ToString() == "Show all Transaction")
     {
         show_transaction_details st = new show_transaction_details();
         st.Show();
         this.Hide();
     }
     else if (dataGridView2.Rows[e.RowIndex].Cells[0].Value.ToString() == "Show transaction for Year")
     {
         select_yr ss = new select_yr();
         ss.Show();
         this.Hide();
     }
     else if (dataGridView2.Rows[e.RowIndex].Cells[0].Value.ToString() == "Show transaction for Account")
     {
         select_yr_for_acc sac = new select_yr_for_acc();
         sac.Show();
         this.Hide();
     }
 }