Пример #1
0
 protected virtual void OnRenderGrip(ExplorerBarRenderEventArgs e)
 {
     if (RenderGrip != null)
     {
         RenderGrip(this, e);
     }
 }
Пример #2
0
 protected virtual void OnRenderDockBackground(ExplorerBarRenderEventArgs e)
 {
     if (RenderDockBackround != null)
     {
         RenderDockBackround(this, e);
     }
 }
Пример #3
0
        protected override void OnRenderBackground(ExplorerBarRenderEventArgs e)
        {
            var brush = new SolidBrush(Color.FromArgb(101, 147, 207));

            e.Graphics.FillRectangle(brush, e.ExplorerBar.ClientRectangle);

            brush.Dispose();
        }
        protected override void OnRenderBackground(ExplorerBarRenderEventArgs e)
        {
            var brush = new SolidBrush(Color.FromArgb(0, 45, 150));

            e.Graphics.FillRectangle(brush, e.ExplorerBar.ClientRectangle);

            brush.Dispose();
        }
Пример #5
0
        protected override void OnRenderGrip(ExplorerBarRenderEventArgs e)
        {
            var brush = new LinearGradientBrush(
                e.ExplorerBar.GripBounds,
                Color.FromArgb(227, 239, 255),
                Color.FromArgb(179, 212, 255),
                LinearGradientMode.Vertical
                );

            e.Graphics.FillRectangle(brush, e.ExplorerBar.GripBounds);

            Icon icon = Properties.Resources.Grip2007;

            var iconRect = new Rectangle(
                (e.ExplorerBar.Width / 2) - (icon.Width / 2),
                ((e.ExplorerBar.GripBounds.Height / 2) - (icon.Height / 2)) + 1,
                icon.Width,
                icon.Height
                );

            e.Graphics.DrawIcon(icon, iconRect);

            icon.Dispose();
        }
Пример #6
0
        protected override void OnRenderGrip(ExplorerBarRenderEventArgs e)
        {
            var brush = new LinearGradientBrush(
                e.ExplorerBar.GripBounds,
                Color.FromArgb(206, 199, 198),
                Color.FromArgb(156, 154, 156),
                LinearGradientMode.Vertical
                );

            e.Graphics.FillRectangle(brush, e.ExplorerBar.GripBounds);

            var image = Properties.Resources.themed_grip;

            var iconRect = new Rectangle(
                (e.ExplorerBar.Width / 2) - (image.Width / 2),
                ((e.ExplorerBar.GripBounds.Height / 2) - (image.Height / 2)) + 1,
                image.Width,
                image.Height
                );

            e.Graphics.DrawImage(image, iconRect);

            image.Dispose();
        }
        protected override void OnRenderGrip(ExplorerBarRenderEventArgs e)
        {
            var brush = new LinearGradientBrush(
                e.ExplorerBar.GripBounds,
                Color.FromArgb(89, 135, 214),
                Color.FromArgb(0, 45, 150),
                LinearGradientMode.Vertical
            );

            e.Graphics.FillRectangle(brush, e.ExplorerBar.GripBounds);

            Icon icon = Properties.Resources.Grip2003;

            var iconRect = new Rectangle(
                (e.ExplorerBar.Width / 2) - (icon.Width / 2),
                ((e.ExplorerBar.GripBounds.Height / 2) - (icon.Height / 2)) + 1,
                icon.Width,
                icon.Height
            );

            e.Graphics.DrawIcon(icon, iconRect);

            icon.Dispose();
        }
        protected override void OnRenderGrip(ExplorerBarRenderEventArgs e)
        {
            var brush = new LinearGradientBrush(
                e.ExplorerBar.GripBounds,
                Color.FromArgb(206, 199, 198),
                Color.FromArgb(156, 154, 156),
                LinearGradientMode.Vertical
            );

            e.Graphics.FillRectangle(brush, e.ExplorerBar.GripBounds);

            var image = Properties.Resources.themed_grip;

            var iconRect = new Rectangle(
                (e.ExplorerBar.Width / 2) - (image.Width / 2),
                ((e.ExplorerBar.GripBounds.Height / 2) - (image.Height / 2)) + 1,
                image.Width,
                image.Height
            );

            e.Graphics.DrawImage(image, iconRect);

            image.Dispose();
        }
Пример #9
0
 protected override void OnRenderDockBackground(ExplorerBarRenderEventArgs e)
 {
     DrawContentBackground(e.Graphics, e.ExplorerBar.DockBounds, false, false);
 }
Пример #10
0
 protected override void OnRenderBackground(ExplorerBarRenderEventArgs e)
 {
     e.Graphics.FillRectangle(SystemBrushes.ControlDark, e.ExplorerBar.ClientRectangle);
 }
 protected override void OnRenderDockBackground(ExplorerBarRenderEventArgs e)
 {
     DrawContentBackground(e.Graphics, e.ExplorerBar.DockBounds, false, false);
 }
Пример #12
0
 protected override void OnRenderBackground(ExplorerBarRenderEventArgs e)
 {
     e.Graphics.FillRectangle(SystemBrushes.ControlDark, e.ExplorerBar.ClientRectangle);
 }
Пример #13
0
 protected virtual void OnRenderBackground(ExplorerBarRenderEventArgs e)
 {
     if (RenderBackground != null)
     {
         RenderBackground(this, e);
     }
 }
Пример #14
0
 protected virtual void OnRenderGrip(ExplorerBarRenderEventArgs e)
 {
     if (RenderGrip != null)
     {
         RenderGrip(this, e);
     }
 }