Click here to Skip to main content
16,004,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unauthorized error 401 HttpWebRequest Pin
TAREQ F ABUZUHRI9-Dec-05 17:31
TAREQ F ABUZUHRI9-Dec-05 17:31 
GeneralRe: Unauthorized error 401 HttpWebRequest Pin
Jared Parsons9-Dec-05 21:04
Jared Parsons9-Dec-05 21:04 
QuestionAccessing Dynamically Added User Controls Pin
Mikan239-Dec-05 11:19
Mikan239-Dec-05 11:19 
AnswerRe: Accessing Dynamically Added User Controls Pin
Polis Pilavas9-Dec-05 11:58
Polis Pilavas9-Dec-05 11:58 
GeneralRe: Accessing Dynamically Added User Controls Pin
Mikan239-Dec-05 12:08
Mikan239-Dec-05 12:08 
GeneralRe: Accessing Dynamically Added User Controls Pin
Polis Pilavas9-Dec-05 12:15
Polis Pilavas9-Dec-05 12:15 
GeneralRe: Accessing Dynamically Added User Controls Pin
Mikan239-Dec-05 12:27
Mikan239-Dec-05 12:27 
GeneralRe: Accessing Dynamically Added User Controls Pin
Polis Pilavas9-Dec-05 12:46
Polis Pilavas9-Dec-05 12:46 
You could write something like this:
// Add "monitor1" on tab1
TabPage tab1 = new TabPage("Tab 1");
MonitorTabs.TabPages.Add(tab1);

MonitorTab monitor1 = new MonitorTab();
tab1.Controls.Add(monitor1);


// Add "monitor2" on tab2
TabPage tab2 = new TabPage("Tab 2");
MonitorTabs.TabPages.Add(tab2);

MonitorTab monitor2 = new MonitorTab();
tab2.Controls.Add(monitor2);

// And so on...

This way, you know that tab1 has monitor1 on it, and tab2 has monitor2. So if the selectedTab is tab1 then you access monitor1 by writing something like this.monitor1

Hope this makes sense.


Regards,
Polis

Can you practice what you teach?
GeneralRe: Accessing Dynamically Added User Controls Pin
Mikan239-Dec-05 13:09
Mikan239-Dec-05 13:09 
GeneralRe: Accessing Dynamically Added User Controls Pin
[Marc]9-Dec-05 13:52
[Marc]9-Dec-05 13:52 
GeneralRe: Accessing Dynamically Added User Controls Pin
Mikan239-Dec-05 14:05
Mikan239-Dec-05 14:05 
QuestionString functions like C and VB Pin
GlennP.9-Dec-05 9:09
GlennP.9-Dec-05 9:09 
AnswerRe: String functions like C and VB Pin
Wjousts9-Dec-05 9:16
Wjousts9-Dec-05 9:16 
GeneralRe: String functions like C and VB Pin
GlennP.9-Dec-05 9:20
GlennP.9-Dec-05 9:20 
GeneralRe: String functions like C and VB Pin
Colin Angus Mackay9-Dec-05 9:55
Colin Angus Mackay9-Dec-05 9:55 
GeneralRe: String functions like C and VB Pin
Wjousts9-Dec-05 10:06
Wjousts9-Dec-05 10:06 
GeneralRe: String functions like C and VB Pin
GlennP.10-Dec-05 4:35
GlennP.10-Dec-05 4:35 
GeneralRe: String functions like C and VB Pin
Dave Kreskowiak10-Dec-05 5:11
mveDave Kreskowiak10-Dec-05 5:11 
AnswerRe: String functions like C and VB Pin
Nish Nishant9-Dec-05 10:30
sitebuilderNish Nishant9-Dec-05 10:30 
GeneralRe: String functions like C and VB Pin
GlennP.10-Dec-05 4:38
GlennP.10-Dec-05 4:38 
Questionremoting server/client Pin
mutidempto9-Dec-05 7:37
mutidempto9-Dec-05 7:37 
AnswerRe: remoting server/client Pin
Ista9-Dec-05 16:20
Ista9-Dec-05 16:20 
GeneralRe: remoting server/client Pin
mutidempto10-Dec-05 23:02
mutidempto10-Dec-05 23:02 
GeneralRe: remoting server/client Pin
Ista11-Dec-05 8:16
Ista11-Dec-05 8:16 
QuestionXML deserialization of a class Pin
Wjousts9-Dec-05 7:34
Wjousts9-Dec-05 7:34 

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.