private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { GlobalClass.acc_id = Convert.ToInt32(dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString()); show_transaction_accountwise at = new show_transaction_accountwise(); at.Show(); this.Hide(); }
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { GlobalClass.acc_id = Convert.ToInt32(dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString()); show_transaction_accountwise showAccWiseTrans = new show_transaction_accountwise(); showAccWiseTrans.MdiParent = this.MdiParent; showAccWiseTrans.Location = new Point(620, 150); showAccWiseTrans.Show(); this.Hide(); }