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