private void showYrwise_Click(object sender, EventArgs e)
 {
     select_yr selectYrForTrans = new select_yr();
     selectYrForTrans.Location = new Point(680, 150);
     selectYrForTrans.MdiParent = this.MdiParent;
     selectYrForTrans.Show();
 }
 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();
     }
 }