Exemplo n.º 1
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     GrStockDetail frm = new GrStockDetail();
     frm.ShowDialog();
     if (frm.DialogResult == DialogResult.OK) {
         loadgrid();
     }
 }
Exemplo n.º 2
0
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     GrStockDetail frm = new GrStockDetail(dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());
     frm.ShowDialog();
     if (frm.DialogResult == DialogResult.OK) {
         loadgrid();
     }
 }