private void buttonEditWindow_Click(object sender, EventArgs e) { using (BasicTextEditor editor = new BasicTextEditor(OnCallback, this.EntryText)) { editor.ShowDialog(this.Parent); } }
private void button2_Click(object sender, EventArgs e) { using (BasicTextEditor editor = new BasicTextEditor(OnCallbackValue, this.Value.Text)) { editor.ShowDialog(this.Parent); } }