Refactoring + new skin + custom caption button

Topics: Developer Forum
Sep 8, 2006 at 9:17 AM

I keep you informed about the development status...

In the new version, there has been several classes name changed.

By example,
FormButtonStyle->CaptionButtonSkin (We already have CaptionButton and not FormButton)

It should allow to be more uniform.


I have add:
- 50% of the "Custom caption button", it remain to handle event (in progress) and to adapt the designer
- A new Vista skin
- A new small sample

Sep 10, 2006 at 6:08 PM
Today I finally got a chance to take a look at what you done so far and I must say you've done tremendous job! This is exactly what we wanted to do. Thank you!

So I've took it a bit further. First, I've split the project into several sub-projects. It's based on the structure you've created. The core classes are in the Lizard projects. For those who want to use the editor it's in the LizardEditor project. Both of them are now class libraries.

The samples are now separate windows applications each. This is makes it much easier to test just by changing the startup projects.

I also changed few class names. LizardForm (former CustomBorderForm) to SkinnedForm and FormWitnNonClientArea to NonClientBaseForm.

Besides this I also moved few files here and there but I hope you will agree with these changes.

Now let me know on your progress with custom caption buttons. I see that you are almost done in the core classes but currently the FormSkinEditor doesn't work. Are you working on this or I should take care of this?

Also you've made changes to the skin format so the older skins won't work now. I think we should provide automatic conversion for older skins. I've already added the schemaVersion attribute in the skin file specifically to support this.
Sep 11, 2006 at 4:59 AM
Just to let you know, yesterday I've added some code to do automatic updates from older version of form skin libraries. I'm not 100% happy with it so I might work a bit more on it. I've also adjusted a bit the final schema for the XML file. I hope you like it.
Sep 11, 2006 at 7:37 AM

I think you have forgot to add the ".csproj" file in the source control, please can you add them ?

I will review all of theses changes and continue for the custom button. I would like to say that
the FormEditor is already working, but it remain a few work.

Also, because of theses changes I have change the structure of the "fsl" files to be able to support
custom buttons.

If you can add the project files today I expect to finish this development today.

Sep 11, 2006 at 9:48 AM

I have discovered some new problems and stuffs, maybe due to your changes, I m not sure !

Anoyway I have already recreate the "csproj" files and start to fix all the problems I have find.

I'll let you know ;-)