コード例 #1
0
 private void showAccwise_Click(object sender, EventArgs e)
 {
     select_yr_for_acc selectYrForAcc = new select_yr_for_acc();
     selectYrForAcc.Location = new Point(620, 150);
     selectYrForAcc.MdiParent = this.MdiParent;
     //selectYrForAcc.Location = new Point(200, 100);
     selectYrForAcc.Show();
 }
コード例 #2
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();
     }
 }