Click here to Skip to main content
15,884,956 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a Collection of Widgets Pin
cron-fed16-Dec-09 14:26
cron-fed16-Dec-09 14:26 
GeneralRe: Creating a Collection of Widgets Pin
PIEBALDconsult16-Dec-09 17:09
mvePIEBALDconsult16-Dec-09 17:09 
AnswerRe: Creating a Collection of Widgets Pin
_Maxxx_16-Dec-09 14:29
professional_Maxxx_16-Dec-09 14:29 
AnswerRe: Creating a Collection of Widgets Pin
BillWoodruff16-Dec-09 15:30
professionalBillWoodruff16-Dec-09 15:30 
GeneralRe: Creating a Collection of Widgets Pin
Subin Mavunkal16-Dec-09 20:23
Subin Mavunkal16-Dec-09 20:23 
GeneralRe: Creating a Collection of Widgets Pin
cron-fed17-Dec-09 7:15
cron-fed17-Dec-09 7:15 
General[SOLVED]Re: Creating a Collection of Widgets Pin
cron-fed17-Dec-09 9:16
cron-fed17-Dec-09 9:16 
AnswerRe: Creating a Collection of Widgets [modified] Pin
BillWoodruff18-Dec-09 13:37
professionalBillWoodruff18-Dec-09 13:37 
Hi Cron-Fed,

Looking at all the posts on this thread, I'm still not as clear about what you are doing as I'd like to be.

So here's a few final comments just based on "intuition" :

1. the business of reading in from an .ini file to construct a whole set of components seems to me like something that would fit "naturally" with using XML : using XML files and capabilities you can save and restore whole hierarchies easily.

2. my guess is this what you are after here is a way to serialize and de-serialize a whole bunch of controls (possibly nested) : do look around CP for serialize and deserialize examples.

3. my guess is you may want to think about a TreeView as a container for your "overview" of Controls rather than a just a ComboList : after all using a TreeView will map naturally to nested collections of Controls. It will also "map naturally" to hierarchies expressed in XML. I'm pretty sure CP has some articles on saving and restoring TreeView nodes and content.

4. you can actually use the Winforms PropertyGrid control on a WinForm Application at run-time to show you all the properties of any control in the same way you see them at design-time : you can even edit the properties :

set the SelectedObject property on the PropertyGrid to the Control you want to display the properties of :

note this control, must use Reflection to reconstruct the properties and to enable dynamic round-trip updating : can be slow it used at run-time.

good luck, Bill

"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

modified on Friday, December 18, 2009 7:44 PM

QuestionUpdates wrong table in dataset Pin
Star0916-Dec-09 12:50
Star0916-Dec-09 12:50 
AnswerRe: Updates wrong table in dataset Pin
Paulo Zemek17-Dec-09 1:09
mvaPaulo Zemek17-Dec-09 1:09 
QuestionCan't multiply... Pin
o m n i16-Dec-09 10:57
o m n i16-Dec-09 10:57 
AnswerRe: Can't multiply... Pin
Richard MacCutchan16-Dec-09 11:04
mveRichard MacCutchan16-Dec-09 11:04 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 11:06
o m n i16-Dec-09 11:06 
GeneralRe: Can't multiply... Pin
loyal ginger16-Dec-09 11:23
loyal ginger16-Dec-09 11:23 
GeneralRe: Can't multiply... Pin
Richard MacCutchan16-Dec-09 11:43
mveRichard MacCutchan16-Dec-09 11:43 
AnswerRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 11:07
sitebuilderLuc Pattyn16-Dec-09 11:07 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 11:11
o m n i16-Dec-09 11:11 
GeneralRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 11:21
sitebuilderLuc Pattyn16-Dec-09 11:21 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 12:57
o m n i16-Dec-09 12:57 
GeneralRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 13:15
sitebuilderLuc Pattyn16-Dec-09 13:15 
QuestionString Placeholder/Templating Question Pin
Member 158975816-Dec-09 9:32
Member 158975816-Dec-09 9:32 
AnswerRe: String Placeholder/Templating Question Pin
Ian Shlasko16-Dec-09 10:47
Ian Shlasko16-Dec-09 10:47 
AnswerRe: String Placeholder/Templating Question Pin
PIEBALDconsult17-Dec-09 8:11
mvePIEBALDconsult17-Dec-09 8:11 
Questionsimple PAssword Policy Pin
THE SK16-Dec-09 9:16
THE SK16-Dec-09 9:16 
AnswerRe: simple PAssword Policy Pin
Luc Pattyn16-Dec-09 9:40
sitebuilderLuc Pattyn16-Dec-09 9:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.