Click here to Skip to main content
15,892,697 members
Home / Discussions / C#
   

C#

 
AnswerRe: Detect Enter key press - click button when pressed Pin
BillWoodruff26-Dec-14 20:02
professionalBillWoodruff26-Dec-14 20:02 
GeneralRe: Detect Enter key press - click button when pressed Pin
robwm127-Dec-14 6:22
robwm127-Dec-14 6:22 
QuestionIn Custom Featured MessageBox how to change font size Pin
Member 1111316725-Dec-14 18:47
Member 1111316725-Dec-14 18:47 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
BillWoodruff25-Dec-14 18:57
professionalBillWoodruff25-Dec-14 18:57 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
syed shanu25-Dec-14 19:56
professionalsyed shanu25-Dec-14 19:56 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
deepankarbhatnagar26-Dec-14 1:46
professionaldeepankarbhatnagar26-Dec-14 1:46 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
OriginalGriff26-Dec-14 2:46
mveOriginalGriff26-Dec-14 2:46 
Questionloop through user controls Pin
Jassim Rahma24-Dec-14 4:32
Jassim Rahma24-Dec-14 4:32 
Hi,

I have fromOptions and I am showing a user control for every option using this code:

ucOptionsBarcode options_barcode = new ucOptionsBarcode();
options_barcode.Left = 270;
options_barcode.Top = 12;
options_barcode.Width = 500;
options_barcode.Height = 300;
this.Controls.Add(options_barcode);

I would like to change the code to loop through all user controls on the form, if the user control was already added earler then just BringToFront, otherwise Controls.Add it?

How can I do this please?


Technology News @ www.JassimRahma.com

AnswerRe: loop through user controls Pin
OriginalGriff24-Dec-14 4:46
mveOriginalGriff24-Dec-14 4:46 
GeneralMessage Closed Pin
24-Dec-14 7:07
professionalBillWoodruff24-Dec-14 7:07 
GeneralRe: loop through user controls Pin
OriginalGriff24-Dec-14 7:13
mveOriginalGriff24-Dec-14 7:13 
GeneralRe: loop through user controls Pin
Jassim Rahma24-Dec-14 19:31
Jassim Rahma24-Dec-14 19:31 
AnswerRe: loop through user controls Pin
Kornfeld Eliyahu Peter24-Dec-14 19:48
professionalKornfeld Eliyahu Peter24-Dec-14 19:48 
GeneralRe: loop through user controls Pin
OriginalGriff24-Dec-14 20:05
mveOriginalGriff24-Dec-14 20:05 
QuestionBest way to generate bulk pdf reports from DB. Pin
Member 1133296924-Dec-14 2:06
Member 1133296924-Dec-14 2:06 
SuggestionRe: Best way to generate bulk pdf reports from DB. Pin
Richard MacCutchan24-Dec-14 2:16
mveRichard MacCutchan24-Dec-14 2:16 
GeneralRe: Best way to generate bulk pdf reports from DB. Pin
Member 1133296924-Dec-14 2:53
Member 1133296924-Dec-14 2:53 
AnswerRe: Best way to generate bulk pdf reports from DB. Pin
OriginalGriff24-Dec-14 3:07
mveOriginalGriff24-Dec-14 3:07 
AnswerRe: Best way to generate bulk pdf reports from DB. Pin
jschell24-Dec-14 11:14
jschell24-Dec-14 11:14 
Questionhow to set font in raw text printing in vb Pin
Member 1040541424-Dec-14 0:02
Member 1040541424-Dec-14 0:02 
AnswerRe: how to set font in raw text printing in vb Pin
OriginalGriff24-Dec-14 0:37
mveOriginalGriff24-Dec-14 0:37 
GeneralRe: how to set font in raw text printing in vb Pin
Richard MacCutchan24-Dec-14 2:13
mveRichard MacCutchan24-Dec-14 2:13 
GeneralRe: how to set font in raw text printing in vb Pin
OriginalGriff24-Dec-14 2:31
mveOriginalGriff24-Dec-14 2:31 
QuestionDisplay Data In Text Box Based On ID Pin
Member 1086943723-Dec-14 19:28
Member 1086943723-Dec-14 19:28 
AnswerRe: Display Data In Text Box Based On ID Pin
OriginalGriff23-Dec-14 21:09
mveOriginalGriff23-Dec-14 21:09 

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.