Click here to Skip to main content
15,890,527 members
Home / Discussions / C#
   

C#

 
Questionreading bits from a file and manipulate them Pin
arturw8213-Nov-08 6:51
arturw8213-Nov-08 6:51 
AnswerRe: reading bits from a file and manipulate them Pin
Mbah Dhaim13-Nov-08 7:16
Mbah Dhaim13-Nov-08 7:16 
GeneralRe: reading bits from a file and manipulate them Pin
arturw8213-Nov-08 10:18
arturw8213-Nov-08 10:18 
AnswerRe: reading bits from a file and manipulate them Pin
Pr@teek B@h!13-Nov-08 8:07
Pr@teek B@h!13-Nov-08 8:07 
GeneralRe: reading bits from a file and manipulate them Pin
arturw8213-Nov-08 10:52
arturw8213-Nov-08 10:52 
GeneralRe: reading bits from a file and manipulate them Pin
Pr@teek B@h!14-Nov-08 2:56
Pr@teek B@h!14-Nov-08 2:56 
QuestionApplication architecture Pin
DaveKub13-Nov-08 5:17
DaveKub13-Nov-08 5:17 
QuestionGet all names of objects (controls) in a form Pin
Kurt13-Nov-08 5:01
Kurt13-Nov-08 5:01 
I'm getting crazy...

I've tried to run through this.Controls
...but it only found the MenuStrip and ToolStrip. The names of the items like "mnuOptions" weren't listed.

So I've tried stupid like this.components.Components.GetEnumerator()
...and got only one element.

All objects can be accessed by typing this. and the name of object. Even those of the MenuStrip or ToolStrip. But at runtime they can't be accessed by this.Controls["menuItemXY"].

I know about recursive getting controls. But this solution doesn't get the items of a MenuStrip.

Is there any solution to get really all objects in a form at once and without switching the type of object?

modified on Thursday, November 13, 2008 11:16 AM

AnswerRe: Get all names of objects (controls) in a form Pin
Giorgi Dalakishvili13-Nov-08 5:20
mentorGiorgi Dalakishvili13-Nov-08 5:20 
AnswerRe: Get all names of objects (controls) in a form Pin
Ben Fair13-Nov-08 6:22
Ben Fair13-Nov-08 6:22 
GeneralRe: Get all names of objects (controls) in a form Pin
Kurt13-Nov-08 21:03
Kurt13-Nov-08 21:03 
Questionconverting GSM 6.10 to PCM in c# Pin
f4hd13-Nov-08 4:34
f4hd13-Nov-08 4:34 
AnswerRe: converting GSM 6.10 to PCM in c# Pin
DaveyM6913-Nov-08 5:01
professionalDaveyM6913-Nov-08 5:01 
GeneralRe: converting GSM 6.10 to PCM in c# Pin
f4hd13-Nov-08 5:49
f4hd13-Nov-08 5:49 
GeneralRe: converting GSM 6.10 to PCM in c# Pin
DaveyM6913-Nov-08 15:57
professionalDaveyM6913-Nov-08 15:57 
QuestionException on workflow thread Pin
to_samGmbH13-Nov-08 4:22
to_samGmbH13-Nov-08 4:22 
Questionsetting parameter value to com visible assembly from javascript Pin
superlizo13-Nov-08 3:39
superlizo13-Nov-08 3:39 
QuestionCannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Jason_Shen13-Nov-08 2:42
Jason_Shen13-Nov-08 2:42 
AnswerRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Giorgi Dalakishvili13-Nov-08 2:55
mentorGiorgi Dalakishvili13-Nov-08 2:55 
GeneralRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Jason_Shen13-Nov-08 5:43
Jason_Shen13-Nov-08 5:43 
GeneralRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Giorgi Dalakishvili13-Nov-08 5:52
mentorGiorgi Dalakishvili13-Nov-08 5:52 
AnswerRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Dave Kreskowiak13-Nov-08 5:07
mveDave Kreskowiak13-Nov-08 5:07 
GeneralRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Jason_Shen13-Nov-08 5:41
Jason_Shen13-Nov-08 5:41 
QuestionHow to set the background color of the Scrollbar of DataGridView with C# in the WinForm Pin
mctramp16813-Nov-08 0:49
mctramp16813-Nov-08 0:49 
AnswerRe: How to set the background color of the Scrollbar of DataGridView with C# in the WinForm Pin
Dave Kreskowiak13-Nov-08 5:03
mveDave Kreskowiak13-Nov-08 5:03 

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.