protected virtual void OnDrawTextArea(DrawTextAreaEventArgs e) { DrawTextAreaEventHandler handler = (DrawTextAreaEventHandler)Events[EventDrawTextArea]; if (handler != null) { handler(this, e); } }
/// <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); }