private void bt_ModifyRobot_Click(object sender, EventArgs e) { Robot Robot1 = new Robot(); AddRobotForm ard = new AddRobotForm(Robot1, dataGridView1); ard.Show(); }
private void bt_AddRobot_Click(object sender, EventArgs e) { AddRobotForm ard = new AddRobotForm(dataGridView1); ard.Show(); }