private void button6_Click(object sender, EventArgs e) { NewDialogForm input = new NewDialogForm(_Ids); input.Finished += EvalResult; input.Show(); }
private void button4_Click(object sender, EventArgs e) { if (listBox1.SelectedIndex == -1) { return; } var edit = _dialogTree.AtIndex(listBox1.SelectedIndex); NewDialogForm editForm = new NewDialogForm(edit, _Ids); editForm.Finished += EvalResult; _dialogList.Remove(edit); editForm.Show(); UpdateTree(); }