That text goes into the details of how I said to do it. Thus I agree that it can be done and re-used.
Now the Q I have is WHY? If you have branded UI button styles? What else are you extracting to re-use with your enhancements on time and again? Create the control library project Define a custom control and its custom designer in C#/VB Get your using using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Drawing.Design; using System.Windows.Forms; using System.Windows.Forms.Design; Start coding off of it inherriting from a class public class MarqueeControlRootDesigner : DocumentDesigner Due to all of this work I wouldn't do every control out there myself. You can do the same thing in the Web space as windows forms so tOmato tomAto. 20 years ago the idea of subclassing every little thing was novel. Today I just don't have the time to do that because it isn't worth it. Another good idea is buying all of that dond for you via the various tool companies that support .NET. This is outdated https://visualstudiomagazine.com/articles/2015/09/01/9-top-net-ui-component-collections.aspx but most of those companies are still doing what they do so well. On Fri, Aug 20, 2021 at 6:01 AM Alan Bourke <alanpbou...@fastmail.fm> wrote: > On Wed, 18 Aug 2021, at 5:34 PM, Graham Brown wrote: > > > What am I missing? > > You're not missing anything. Visual inheritance in the Windows Forms > designer does not work like VFP, Delphi or whatever. It didn't in 2002, > and on inspection still doesn't now. > > This is how you do it with a UserControl. > > > https://docs.microsoft.com/en-us/dotnet/desktop/winforms/controls/creating-a-wf-control-design-time-features?view=netframeworkdesktop-4.8 > > > -- > Alan Bourke > alanpbourke (at) fastmail (dot) fm > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/cajidmylby-5u1xouoze-3hkfexpexmtqvsj7zyy1dmrxugw...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.