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

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #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);
 }