private void bEdit_Click(object sender, EventArgs e) { ParamForm form = new ParamForm(this, scene.objs[lboxObj.SelectedIndex].Start, scene.objs[lboxObj.SelectedIndex].bar_len, scene.objs[lboxObj.SelectedIndex].bar_diam, scene.objs[lboxObj.SelectedIndex].mag_len, scene.objs[lboxObj.SelectedIndex].box_width, scene.objs[lboxObj.SelectedIndex].cev_len, scene.objs[lboxObj.SelectedIndex].targ_ang, scene.objs[lboxObj.SelectedIndex].nas, scene.objs[lboxObj.SelectedIndex].rings, scene.objs[lboxObj.SelectedIndex].sp_ang, scene.objs[lboxObj.SelectedIndex].dist); form.ShowDialog(); }
private void bAdd_Click(object sender, EventArgs e) { ParamForm Form = new ParamForm(this); Form.ShowDialog(); }