Not a programming question...
-
But I wonder if any of you can help me: I "need" (can do without it, but it would be nice to have) a WinForms Button control where the surface is also a Container Panel - So that at design time, you can design a more complex look than the normal button, e.g. put more than one image, more than one text label (with different font style properties) and (strange, maybe) - A ProgressBar. The child controls would need to be accessible at runtime, so that their properties can be changed. Does anybody know if something like that exists? I guess I could roll one myself, but if there is an existing control that would do the job, I'd like to save the time. Before somebody suggests that "Google is my friend", I would like to say that I HAVE Googled - a LOT - but any search terms that include "Button" and "Panel" returns a million hits, none of which are relevant. Have a nice weekend, y'all!
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
Never argue with a fool. Onlookers may not be able to tell the difference.
Mark Twain -
But I wonder if any of you can help me: I "need" (can do without it, but it would be nice to have) a WinForms Button control where the surface is also a Container Panel - So that at design time, you can design a more complex look than the normal button, e.g. put more than one image, more than one text label (with different font style properties) and (strange, maybe) - A ProgressBar. The child controls would need to be accessible at runtime, so that their properties can be changed. Does anybody know if something like that exists? I guess I could roll one myself, but if there is an existing control that would do the job, I'd like to save the time. Before somebody suggests that "Google is my friend", I would like to say that I HAVE Googled - a LOT - but any search terms that include "Button" and "Panel" returns a million hits, none of which are relevant. Have a nice weekend, y'all!
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
Never argue with a fool. Onlookers may not be able to tell the difference.
Mark TwainNot sure if it's the exact same problem, but I joined CodeProject (in 2010) to have a similar question answered (things went downhill from there). See my first ever post on CP: Groupbox in SplitContainer UserControl[^] Henry Minute (who, unfortunately, passed away since) answered with one of his own articles that may be what you want: Designing Nested Controls[^] Later, I wrote some custom controls for work that allowed you to add controls to another control (both design-time and runtime) and even add them from the properties menu after which they were automagically added to your form (like columns of a datagridview). I haven't done any serious WinForms in years though, and I switched jobs a few times and don't have that code anymore, so I can't help you more than this. Hope it helps.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript