Example #1
0
 /// <summary>
 /// Raises the TextDirChanged Event.
 /// </summary>
 /// <param name="e">Standard EventArgs object.</param>
 protected virtual void OnTextDirChanged(TextDirEventArgs e)
 {
     if(TextDirChanged != null)
     {
         TextDirChanged(this, e);
     }
 }
Example #2
0
 /// <summary>
 /// Standard ValueChanged EventHandler for EditorTextDirUI etdui.
 /// </summary>
 /// <param name="sender">Standard sender object.</param>
 /// <param name="e">Standard TextDirEventArgs object.</param>
 private void ValueChanged(object sender, TextDirEventArgs e)
 {
     if(pd != null && oInstance != null)
     {
         pd.SetValue(oInstance, e.NewTextDir);
     }
 }