private void btnAddTool_Click(object sender, EventArgs e) { using (var form = new ToolForm(null)) { form.ShowDialog(); toolCombo.Refresh(); } }
private void button6_Click(object sender, EventArgs e) { ToolForm MyDialog = new ToolForm(null); MyDialog.ShowDialog(); }
private void button3_Click(object sender, EventArgs e) { ToolForm myToolForm = new ToolForm(toolCombo.SelectedTool); myToolForm.ShowDialog(); }