private void button2_Click(object sender, EventArgs e) { EditTool editTool = new EditTool(listBox1.SelectedItem.ToString()); editTool.ShowDialog(); Form1.ReloadDB(); }
private void listbox1_DoubleClick(Object sender, EventArgs e) { EditTool editTool = new EditTool(listBox1.SelectedItem.ToString()); editTool.ShowDialog(); Form1.ReloadDB(); }