Ejemplo n.º 1
0
        public void DrawSkinFormCaption(SkinFormCaptionRenderEventArgs e)
        {
            this.OnRenderSkinFormCaption(e);
            SkinFormCaptionRenderEventHandler skinFormCaptionRenderEventHandler = this.Events[SkinFormRenderer.EventRenderSkinFormCaption] as SkinFormCaptionRenderEventHandler;

            if (skinFormCaptionRenderEventHandler != null)
            {
                skinFormCaptionRenderEventHandler(this, e);
            }
        }
Ejemplo n.º 2
0
        public void DrawSkinFormCaption(
            SkinFormCaptionRenderEventArgs e)
        {
            OnRenderSkinFormCaption(e);
            SkinFormCaptionRenderEventHandler handle =
                Events[EventRenderSkinFormCaption]
                as SkinFormCaptionRenderEventHandler;

            if (handle != null)
            {
                handle(this, e);
            }
        }