Ejemplo n.º 1
0
 private void btnEditString_Click(object sender, EventArgs e)
 {
     using (MultilineStringEditor editor = new MultilineStringEditor())
     {
         editor.Text = txtString.Text;
         DialogResult result = editor.ShowDialog(this);
         if (result == DialogResult.OK)
         {
             txtString.Text = editor.Text;
         }
     }
 }
Ejemplo n.º 2
0
 private void btnEditString_Click(object sender, EventArgs e)
 {
     using (MultilineStringEditor editor = new MultilineStringEditor())
     {
         editor.Text = txtString.Text;
         DialogResult result = editor.ShowDialog(this);
         if (result == DialogResult.OK)
         {
             txtString.Text = editor.Text;
         }
     }
 }