private void button2_Click(object sender, EventArgs e) { id = int.Parse(dgv_supplier.SelectedRows[0].Cells[0].Value.ToString()); FRM_ADD_NEW_SUPPLIER mod = new FRM_ADD_NEW_SUPPLIER(false); mod.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { FRM_ADD_NEW_SUPPLIER ajo = new FRM_ADD_NEW_SUPPLIER(true); ajo.ShowDialog(); }