Ejemplo n.º 1
0
        public override void DrawApplicationCaption(DrawApplicationCaptionArgs args)
        {
            MyWindowSkinPainter painter = WindowPainter as MyWindowSkinPainter;

            if (painter != null)
            {
                painter.CurrentDockPanel = CurrentPanel;
            }
            base.DrawApplicationCaption(args);
        }
Ejemplo n.º 2
0
        public override void DrawWindowCaption(DrawWindowCaptionArgs e)
        {
            MyWindowSkinPainter painter = WindowPainter as MyWindowSkinPainter;

            if (painter != null)
            {
                painter.CurrentDockPanel = CurrentPanel;
            }
            base.DrawWindowCaption(e);
        }
Ejemplo n.º 3
0
 protected override void OnStyleChanged(object sender, EventArgs ea)
 {
     base.OnStyleChanged(sender, ea);
     fWindowPainter = new MyWindowSkinPainter(this);
 }
Ejemplo n.º 4
0
 protected override void CreateElementPainters()
 {
     base.CreateElementPainters();
     fWindowPainter = new MyWindowSkinPainter(this);
 }