Beispiel #1
0
        protected virtual void OnDrawTextArea(DrawTextAreaEventArgs e)
        {
            DrawTextAreaEventHandler handler = (DrawTextAreaEventHandler)Events[EventDrawTextArea];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
 /// <summary>
 /// Raises the DrawTextArea event for the specified control.
 /// </summary>
 /// <param name="dtae">An DrawTextAreaEventArgs that contains the event data.</param>
 protected void InvokeDrawTextArea(DrawTextAreaEventArgs dtae)
 {
     OnDrawTextArea(dtae);
 }