Click here to Skip to main content
15,567,437 members
Home / Discussions / C#
   

C#

 
AnswerRe: On A Positive Note... Pin
dan!sh 16-Dec-09 21:36
professional dan!sh 16-Dec-09 21:36 
AnswerRe: On A Positive Note... Pin
Rob Philpott17-Dec-09 0:03
Rob Philpott17-Dec-09 0:03 
AnswerRe: On A Positive Note... Pin
PIEBALDconsult17-Dec-09 6:10
professionalPIEBALDconsult17-Dec-09 6:10 
Questionreport viewer Pin
ali- kanju216-Dec-09 20:22
ali- kanju216-Dec-09 20:22 
AnswerRe: report viewer Pin
ali- kanju216-Dec-09 21:22
ali- kanju216-Dec-09 21:22 
QuestionNNTP Coding Question... Pin
Member 259847816-Dec-09 18:41
Member 259847816-Dec-09 18:41 
AnswerRe: NNTP Coding Question... Pin
Migounette17-Dec-09 5:00
Migounette17-Dec-09 5:00 
QuestionCreating a Collection of Widgets Pin
cron-fed16-Dec-09 14:51
cron-fed16-Dec-09 14:51 
The problem:

1. Start a new (Windows Forms Application) Project in Visual C#
2. Drag a Button onto the main window "Form1", and give it a name, "button1"
3. Drag another Button onto the main window, and give it a name, "button2"

Now the project consists of a main window and two push buttons.

How can I create a collection of these graphical widgets (actually, references to the widgets, since the widgets already exist) such that I would be able to:

1) iterate through the collection, and access each items' methods and attributes.

2) access any graphical widget in the collection by its name.

Is this possible in C#? Thanks for any help.
AnswerRe: Creating a Collection of Widgets Pin
PIEBALDconsult16-Dec-09 14:56
professionalPIEBALDconsult16-Dec-09 14:56 
GeneralRe: Creating a Collection of Widgets Pin
cron-fed16-Dec-09 15:26
cron-fed16-Dec-09 15:26 
GeneralRe: Creating a Collection of Widgets Pin
PIEBALDconsult16-Dec-09 18:09
professionalPIEBALDconsult16-Dec-09 18:09 
AnswerRe: Creating a Collection of Widgets Pin
_Maxxx_16-Dec-09 15:29
professional_Maxxx_16-Dec-09 15:29 
AnswerRe: Creating a Collection of Widgets Pin
BillWoodruff16-Dec-09 16:30
professionalBillWoodruff16-Dec-09 16:30 
GeneralRe: Creating a Collection of Widgets Pin
Subin Mavunkal16-Dec-09 21:23
Subin Mavunkal16-Dec-09 21:23 
GeneralRe: Creating a Collection of Widgets Pin
cron-fed17-Dec-09 8:15
cron-fed17-Dec-09 8:15 
General[SOLVED]Re: Creating a Collection of Widgets Pin
cron-fed17-Dec-09 10:16
cron-fed17-Dec-09 10:16 
AnswerRe: Creating a Collection of Widgets [modified] Pin
BillWoodruff18-Dec-09 14:37
professionalBillWoodruff18-Dec-09 14:37 
QuestionUpdates wrong table in dataset Pin
Star0916-Dec-09 13:50
Star0916-Dec-09 13:50 
AnswerRe: Updates wrong table in dataset Pin
Paulo Zemek17-Dec-09 2:09
Paulo Zemek17-Dec-09 2:09 
QuestionCan't multiply... Pin
o m n i16-Dec-09 11:57
o m n i16-Dec-09 11:57 
AnswerRe: Can't multiply... Pin
Richard MacCutchan16-Dec-09 12:04
mveRichard MacCutchan16-Dec-09 12:04 
GeneralRe: Can't multiply... Pin
o m n i16-Dec-09 12:06
o m n i16-Dec-09 12:06 
GeneralRe: Can't multiply... Pin
loyal ginger16-Dec-09 12:23
loyal ginger16-Dec-09 12:23 
GeneralRe: Can't multiply... Pin
Richard MacCutchan16-Dec-09 12:43
mveRichard MacCutchan16-Dec-09 12:43 
AnswerRe: Can't multiply... Pin
Luc Pattyn16-Dec-09 12:07
sitebuilderLuc Pattyn16-Dec-09 12:07 

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.