private void BtnNewRequest_Click(object sender, EventArgs e) { FrmRequestSlip nr = new FrmRequestSlip(0, new Hashtable()); nr.ShowDialog(); loadtrans(); }
private void dataGridView1_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { int r = Convert.ToInt32(this.GrdList.Rows[e.RowIndex].Cells["transId"].Value); FrmRequestSlip nr = new FrmRequestSlip(Convert.ToInt32(r), SelectedTrans); nr.ShowDialog(); this.loadtrans(); }