Results 1 to 40 of 64

Thread: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets

Hybrid View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets

    Quote Originally Posted by dherr View Post
    Hi Nick,

    how do you think about a customizable BindingNavigator, it has RenderingMode too?

    Regards
    Dietrich
    I have never actually worked with that control, but I can see now that it inherits ToolStrip. Then it should be quite easy to add it as a supported control for the AppearanceControl. I don't have time right now but you are welcome to try it. What you should do is basically create a class that inherits BindingNavigator and give it an Appearance property (of type AppearanceControl). You can take a look at all the other controls (CustomizableToolStrip, MenuStrip, ContextMenuStrip, StatusStrip, etc) which all do the same thing.

    Quote Originally Posted by dherr View Post
    Hi Nick,

    I have added the Office2007BlackColortable to the AppearanceControl. Are you interested of the code?

    Dietrich
    Sure, that would be cool. Do you have a screenshot too? I'm actually not familiar with a black office 2007 theme, where did you get the colors from? I used Visio 2007 (which was the only Office 2007 product left without a Ribbon) for the blue colors but I don't remember it having a black version too. Maybe it did but I was just too lazy to implement it

  2. #2
    Junior Member
    Join Date
    Oct 2011
    Posts
    20

    Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets

    I got this ColorTable from

    http://www.codeproject.com/KB/miscct...rControls.aspx

    I will send you the code of the complete AppearanceControl in the evening.

    Dietrich

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    20

    Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets

    Hi Nick,

    see the attachement...

    -Dietrich
    Attached Files Attached Files

  4. #4
    Junior Member
    Join Date
    Oct 2011
    Posts
    20

    New: CustomizableBindingnavigator

    And here is the prescription how to make a CustomizableBindingNavigator:

    make a new class, name it CustomizableBindingNavigator
    take the Code of the CustomizableToolstrip control
    copy and paste this code into the new class
    change the lines
    Code:
    Public Class CustomizableToolStrip
        Inherits ToolStrip
    into
    Code:
    Public Class CustomizableBindingNavigator
    	Inherits BindingNavigator
    That's all!
    The new control can be changed via AppearanceControl.

    Dietrich

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width