Use C # and VB. NET to implement VS. NET or Office XP menus
Stingy god 2001.08.18
2."Owner-drawn menus"Technology
In this exampleVB. NETSyntax.I removed the sumMenuUnrelatedClassThe reason is that there are too many errors and you will encounter the portability problem of class libraries and namespaces:
The mostBeta1 System. WinFormsAndBeta 2OfSystem. Windows. Froms;
ThenBeta1InBitAnd,BitORAnd so on.BitxxxFunctions inBeta2RemovedBitAndVB(It is said thatBeta1This change has suffered a lotVB FansThe complaint saidVBAlsoC,BitWhat is it),In this way, you need to remove such functions;
ThenNameObjectCollectionBaseFrom the originalSystem. collections,Beta2Put inSystem. collections. specializedI thoughtBeta2This class is deleted.
Finally, someOverridesAnd OverloadsFor more information, seeVS. NETOrFramework SDK Beta 2The prompt during compilation is enough.MSDoing well,Task listTo tell you the specific suggestions, just do it.