Example #1
0
 public ConfigurationForm()
 {
     InitializeComponent();
     ObjectiveRichTextBox.SelectAll();
     ObjectiveRichTextBox.SelectionAlignment = HorizontalAlignment.Center;
     ObjectiveRichTextBox.DeselectAll();
 }
Example #2
0
 private void ObjectiveRichTextBox_Enter(object sender, EventArgs e)
 {
     ObjectiveRichTextBox.SelectAll();
     ObjectiveRichTextBox.SelectionAlignment = HorizontalAlignment.Center;
     ObjectiveRichTextBox.DeselectAll();
 }