Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmToolBarButton no longer serializable in Framework 2005
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01118045
Message ID:
01118278
Vues:
20
David,

>I recently upgraded to Mere Mortals 2.1 and Visual Studio 2005. The actual conversion went fairly smooth, however, I had a custom command buttons control that uses mmToolBarButtons. The control works great in Visual Studio 2003/Mere Mortals 1.4, but now in 2005 I am getting an error that reads: 'Type OakLeaf.MM.Main.Windows.Forms.mmToolBarButton' in Assembly 'Mere Mortals Framework Windows Forms 2005, Version=2.0.0.0, Culture=neutral,PublicKeyToken=57ceb69243304587' is not marked as serializable.
>
>I was reading over the documentation to see if any changes were made to the toolbar buttons, and it doesn't appear there have been any. Anyone else experiencing this problem or know of a possible solution I could try?

Actually, Microsoft replace the Toolbars in VS 2003/.NET 1.1 with the new ToolStrip in VS 2005/.NET 2.0. In the What's New for MM .NET 2.0 it discusses changing your custom toolbars to toolstrips. Basically, you should recreate your Toolbar control using the new mmToolStrip instead.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform