private void BT_Edit_Click(object sender, EventArgs e) { //Edit_Action frm = new Edit_Action(gv.GetSelectedRows()[0]); Edit_Modbus frm = new Edit_Modbus(gv.GetSelectedRows()[0]-1); frm.ShowDialog(); Frm_Modbus_Load(this, null); }
private void BT_Edit_Click(object sender, EventArgs e) { //Edit_Action frm = new Edit_Action(gv.GetSelectedRows()[0]); Edit_Modbus frm = new Edit_Modbus(gv.GetSelectedRows()[0] - 1); frm.ShowDialog(); Frm_Modbus_Load(this, null); }