KryptonPalette-Testtool

Custom palettes created by the Krypton community.

Moderators: Phil Wright, Chris Porter

KryptonPalette-Testtool

Postby Waescher » Sat May 31, 2008 1:20 am

Hi,

before designing some palettes (view thread), I wanted to have a little application to be able to test them. Sure, the PaletteDesigner may be the best method to test them, but I wasn't able to test collapsed RibbonGroups, for example. Also, it's hard to see, how a NavigatorStack will look, if you see just one button of it.
The testapplication should simulate the use in a "real" application. Not in the Designer itself.

Just use the ContextMenu to select your palettes. To test a custom one, just click "Import Palette".
I edited the palettes in the PaletteDesigner while I took a look at the test tool. To test new changes, just save them in the PaletteDesigner and click on "Reload Palette". So the last selected file will be reloaded.
Image

You can change the properties of the most of the controls. Just click on a control and change the desired properties in the propertygrid on the right. So you're able to switch the appearance of the navigator in the left of the form, for example.

You can download the tool here. It's not done by now, but very helpful even if it's uncompleted.
Feedback is appreciated :wink:

Best regards,
Waescher
Last edited by Waescher on Thu Jun 05, 2008 12:27 am, edited 2 times in total.
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: KryptonPalette-Testtool

Postby Keigan » Sat May 31, 2008 5:04 am

Nice work waescher. It's nice to be able to see the effects of all the different palette changes in one place.
I gave it a whirl but got an UE at start up around a DateTime.
I can just continue through it.
Side note, the theme menu in the start button is different than the drop down button.
Confused me for a minute since I know I saw the new sparkle items in your post but I found the button. :wink:
Here is the dump:
Code: Select all
************** Exception Text **************
System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s)
   at KryptonForm.Form1.createFakeData()
   at KryptonForm.Form1.Form1_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at ComponentFactory.Krypton.Toolkit.KryptonForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at ComponentFactory.Krypton.Toolkit.VisualForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
KryptonPaletteTest
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/z877242/Desktop/KryptonPaletteTest/KryptonPaletteTest.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ComponentFactory.Krypton.Toolkit
    Assembly Version: 2.8.5.0
    Win32 Version: 2.8.5.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ComponentFactory.Krypton.Toolkit/2.8.5.0__a87e673e9ecb6e8e/ComponentFactory.Krypton.Toolkit.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ComponentFactory.Krypton.Ribbon
    Assembly Version: 2.8.5.0
    Win32 Version: 2.8.5.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ComponentFactory.Krypton.Ribbon/2.8.5.0__a87e673e9ecb6e8e/ComponentFactory.Krypton.Ribbon.dll
----------------------------------------
ComponentFactory.Krypton.Navigator
    Assembly Version: 2.8.5.0
    Win32 Version: 2.8.5.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ComponentFactory.Krypton.Navigator/2.8.5.0__a87e673e9ecb6e8e/ComponentFactory.Krypton.Navigator.dll
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Keigan
 
Posts: 85
Joined: Mon Jun 04, 2007 9:48 am

Re: KryptonPalette-Testtool

Postby Waescher » Sat May 31, 2008 6:01 am

Ah, an error while parsing the DateTime. Must be a problem with the I'll change that.
The program is not complete yet. I updated the KryptonContextMenu but not the ApplicationMenu, I know.
Fixing that error, I'll update the AppMenu, too.

*** Download updated ***
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: KryptonPalette-Testtool

Postby Keigan » Sat May 31, 2008 7:05 am

Works like a champ.
Keigan
 
Posts: 85
Joined: Mon Jun 04, 2007 9:48 am

Re: KryptonPalette-Testtool

Postby Angel » Sat May 31, 2008 11:57 pm

Thanks, It's useful!

Angel
Angel
 
Posts: 250
Joined: Tue Aug 07, 2007 5:12 pm
Location: Lugano, Switzerland

Re: KryptonPalette-Testtool

Postby Waescher » Thu Jun 05, 2008 12:31 am

Update: Just integrated Angel's beautiful PropertyGridRenderer (and gave the RibbonButtons some icons ;) )

*link updated*
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: KryptonPalette-Testtool

Postby biloxibeachboy » Sat Aug 30, 2008 7:00 pm

Any chance you would share the code for this one? I'd love to make it so that it would save the palette as well so that I wouldn't have to use both programs to create the palette.

I'd be happy to send the code back once I implement that feature.

Allen
Thanks,

Allen Brumley
Pegusus Software
biloxibeachboy
 
Posts: 41
Joined: Fri Jul 25, 2008 8:36 am
Location: Nashville, TN

Re: KryptonPalette-Testtool

Postby -Sun- » Wed Jan 21, 2009 7:09 pm

Because i am working on a new color scheme i will make screenshots with your testtool. But it is not runnning. I think it needs older versions of Krypton dll's.

Is there a chance to get a working version for 3.0.8 of Krypton?
Greetings
Gerhard
-Sun-
 
Posts: 108
Joined: Fri Dec 26, 2008 2:30 pm
Location: Germany - Munich

Re: KryptonPalette-Testtool

Postby Waescher » Wed Jan 21, 2009 10:13 pm

Yes, I've updated the archive. You can use the link above.

By the way: There's a new Button in the Ribbon called "Use Extended Palettes". I've implemented a new ToolStripRenderer to have the TMS in the same look as the KryptonContextMenu --> this is not finished yet!!

By now, it's very hard to design a good looking TMS:
Image

With those extended Renderers the same Palette looks like this:
Image

This is designed to work with custom palettes only!!
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: KryptonPalette-Testtool

Postby -Sun- » Wed Jan 21, 2009 11:47 pm

Thanks. Works fine now.

I have to make some more color settings then i will post a preview of my palette here ;)
Greetings
Gerhard
-Sun-
 
Posts: 108
Joined: Fri Dec 26, 2008 2:30 pm
Location: Germany - Munich


Return to Custom Palettes

Who is online

Users browsing this forum: No registered users and 0 guests