WinForms videos uploaded–gallery control, project wizard, simple skinning support (v2010 vol.2)

ctodx
02 December 2010

We’ve just uploaded a trio of videos I did 10 days or so ago (yes, a little delayed but we’ve been producing videos faster than Jeff, our videographer, can edit and render, poor chap). They’re on new v2010 vol.2 functionality and are in a tutorial style.

(Video) Adding skinning functionality simply to a WinForms application that uses traditional menu/bars.

(Video) Using the new Project Wizard to create a standard layout as a starting point for a new WinForms application.

(Video) Using the new Gallery control in a non-beribboned traditional WinForms application.

I’ve got a few more up my sleeve, so stay tuned.

4 comment(s)
Eric Marrero Aizprúa
Eric Marrero Aizprúa

Hi, thank you very much for those videos. Have a question for the first one "Adding skinning functionality". I have always used on my applications the skins in a way that when a user select his prefered skin then the program simply save that skin name in the application settings so that the previously selected skin will be loaded every time the user open the application. Using this new functionally i can't find a way to capture the ItemClick event as it is not firing when i click on any of the links. Can yo explain how to do that?

Thanks for your support!

Eric

5 December, 2010
Mike_Grace
Mike_Grace

Same here. I would like to replace the code I have written  with the skin helper but how do I know which skin the user has selected so that I can save it?

6 December, 2010
Geoff Stokeld
Geoff Stokeld

This works for me using VB and the Office and Bonus skins are easily added.

 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

       DevExpress.UserSkins.BonusSkins.Register()

       DevExpress.UserSkins.OfficeSkins.Register()

       DevExpress.XtraBars.Helpers.SkinHelper.InitSkinGallery(RibbonGalleryBarItem1, True, True)

   End Sub

   Private Sub RibbonGalleryBarItem1_GalleryItemClick(ByVal sender As System.Object, ByVal e As DevExpress.XtraBars.Ribbon.GalleryItemClickEventArgs) Handles RibbonGalleryBarItem1.GalleryItemClick

       MessageBox.Show(e.Item.Caption)

   End Sub

8 December, 2010
Eric Marrero Aizprúa
Eric Marrero Aizprúa

Thanks, but i'm talking about the: SkinHelper.InitSkinPopupMenu(SkinsLink)

The itemclick will not fire!

8 December, 2010

Please login or register to post comments.