Esempio n. 1
0
 private void richTextBox1_TextChanged(object sender, EventArgs e)
 {
     if (MemoChange != null)
     {
         EditorArgs args = new EditorArgs();
         args.TextString = textView.Buffer.Text;
         MemoChange(this, args);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// The memo has been updated and now send the changed text to the model.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void richTextBox1_Leave(object sender, FocusOutEventArgs e)
 {
     if (MemoLeave != null)
     {
         EditorArgs args = new EditorArgs();
         args.TextString = textView.Buffer.Text;
         MemoLeave(this, args);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// The memo has been updated and now send the changed text to the model.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void richTextBox1_Leave(object sender, EventArgs e)
 {
     if (MemoUpdate != null)
     {
         EditorArgs args = new EditorArgs();
         args.TextString = richTextBox1.Text;
         MemoUpdate(this, args);
     }
 }
Esempio n. 4
0
 private void RichTextBox1_TextChanged(object sender, EventArgs e)
 {
     try
     {
         if (MemoChange != null)
         {
             EditorArgs args = new EditorArgs();
             args.TextString = TextView.Buffer.Text;
             MemoChange(this, args);
         }
     }
     catch (Exception err)
     {
         ShowError(err);
     }
 }
Esempio n. 5
0
 private void richTextBox1_TextChanged(object sender, EventArgs e)
 {
     if (MemoChange != null)
     {
         EditorArgs args = new EditorArgs();
         args.TextString = textView.Buffer.Text;
         MemoChange(this, args);
     }
 }
Esempio n. 6
0
 /// <summary>
 /// The memo has been updated and now send the changed text to the model.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void richTextBox1_Leave(object sender, FocusOutEventArgs e)
 {
     if (MemoLeave != null)
     {
         EditorArgs args = new EditorArgs();
         args.TextString = textView.Buffer.Text;
         MemoLeave(this, args);
     }
 }
Esempio n. 7
0
 /// <summary>
 /// The memo has been updated and now send the changed text to the model.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void richTextBox1_Leave(object sender, EventArgs e)
 {
     if (MemoUpdate != null)
     {
         EditorArgs args = new EditorArgs();
         args.TextString = richTextBox1.Text;
         MemoUpdate(this, args);
     }
 }