Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: NumericUpDown Problem Pin
wjr-itt24-Aug-05 14:16
wjr-itt24-Aug-05 14:16 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 14:23
protectorChristian Graus24-Aug-05 14:23 
GeneralRe: NumericUpDown Problem Pin
wjr-itt25-Aug-05 4:00
wjr-itt25-Aug-05 4:00 
GeneralGRAPHICS IN C# and ASP.net Pin
Anonymous24-Aug-05 12:08
Anonymous24-Aug-05 12:08 
GeneralRe: GRAPHICS IN C# and ASP.net Pin
Christian Graus24-Aug-05 12:45
protectorChristian Graus24-Aug-05 12:45 
GeneralAccessing parts of identical use controls Pin
Mikan2324-Aug-05 11:35
Mikan2324-Aug-05 11:35 
GeneralRe: Accessing parts of identical use controls Pin
rudy.net24-Aug-05 17:03
rudy.net24-Aug-05 17:03 
GeneralRe: Accessing parts of identical use controls Pin
Mikan2324-Aug-05 19:21
Mikan2324-Aug-05 19:21 
Either I don't understand your solution or I didn't explain myself very well. It works like this.

on my form (MainWindow) I have a TabControl called MonitorTabs. I programmatically add a tab to it for each user I want to monitor like so:

<br />
TabTitle = FirstName + " " + LastName;<br />
TabPage newMonitorTab = new TabPage(TabTitle);<br />
MonitorTabs.TabPages.Add(newMonitorTab);


Then I add a user control called Monitor that contains a group of controls including a timer (RefreshTimer) to that tab like so:

Monitor monitor = new Monitor();<br />
monitor.Size = newMonitorTab.Size;<br />
monitor.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;<br />
monitor.UserID = UserID;<br />
newMonitorTab.Controls.Add(monitor);


Then the function ends and other things happen. From the menu in MainWindow, I call a function that needs to reset the interval on RefreshTimer on the currently selected tab. There may be three RefreshTimers, one on each User Control/Tab, and I don't know how to access any of them let alone the one that is currently selected. The timer is set to public, and still nothing shows up. I hope this explains it better. Thanks for any forthcoming help
Generalgetting partial url Pin
philly_dan24-Aug-05 11:19
philly_dan24-Aug-05 11:19 
GeneralRabbi Plotkin's Continuous Form Pin
cgweaver24-Aug-05 10:29
cgweaver24-Aug-05 10:29 
GeneralWeek of month Pin
ehuysamer24-Aug-05 9:49
ehuysamer24-Aug-05 9:49 
GeneralRe: Week of month Pin
Christian Graus24-Aug-05 11:02
protectorChristian Graus24-Aug-05 11:02 
GeneralStopping a dialog Pin
dicas24-Aug-05 9:49
dicas24-Aug-05 9:49 
GeneralRe: Stopping a dialog Pin
Christian Graus24-Aug-05 11:08
protectorChristian Graus24-Aug-05 11:08 
GeneralRe: Stopping a dialog Pin
dicas24-Aug-05 16:53
dicas24-Aug-05 16:53 
GeneralRowFilter Pin
zaboboa24-Aug-05 9:30
zaboboa24-Aug-05 9:30 
GeneralRe: RowFilter Pin
rudy.net24-Aug-05 17:05
rudy.net24-Aug-05 17:05 
Generalmodal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
misterbear24-Aug-05 8:51
misterbear24-Aug-05 8:51 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
Dave Kreskowiak24-Aug-05 9:08
mveDave Kreskowiak24-Aug-05 9:08 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
Tom Larsen24-Aug-05 9:17
Tom Larsen24-Aug-05 9:17 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
ehuysamer24-Aug-05 9:40
ehuysamer24-Aug-05 9:40 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
misterbear24-Aug-05 10:05
misterbear24-Aug-05 10:05 
Generalchanging keyboard chars Pin
imagor24-Aug-05 7:34
imagor24-Aug-05 7:34 
GeneralRe: changing keyboard chars Pin
ehuysamer24-Aug-05 9:29
ehuysamer24-Aug-05 9:29 
GeneralDouble buffering a groupbox Pin
Dan Neely24-Aug-05 7:28
Dan Neely24-Aug-05 7:28 

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.