Click here to Skip to main content
15,920,708 members
Home / Discussions / C#
   

C#

 
GeneralRe: Any help Christian? :) Pin
Christian Graus24-Aug-05 16:06
protectorChristian Graus24-Aug-05 16:06 
GeneralRe: Any help Christian? :) Pin
amitmohanty24-Aug-05 16:14
amitmohanty24-Aug-05 16:14 
GeneralRe: Class Question from Newbie Pin
Christian Graus24-Aug-05 13:52
protectorChristian Graus24-Aug-05 13:52 
GeneralRe: Class Question from Newbie Pin
Christian Graus24-Aug-05 14:10
protectorChristian Graus24-Aug-05 14:10 
GeneralFinding Friday Pin
eggie524-Aug-05 12:28
eggie524-Aug-05 12:28 
GeneralRe: Finding Friday Pin
Christian Graus24-Aug-05 12:45
protectorChristian Graus24-Aug-05 12:45 
GeneralNumericUpDown Problem Pin
wjr-itt24-Aug-05 12:14
wjr-itt24-Aug-05 12:14 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 12:47
protectorChristian Graus24-Aug-05 12:47 
GeneralRe: NumericUpDown Problem Pin
wjr-itt24-Aug-05 13:42
wjr-itt24-Aug-05 13:42 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 13:50
protectorChristian Graus24-Aug-05 13:50 
GeneralRe: NumericUpDown Problem Pin
wjr-itt24-Aug-05 13:58
wjr-itt24-Aug-05 13:58 
GeneralRe: NumericUpDown Problem Pin
Christian Graus24-Aug-05 14:06
protectorChristian Graus24-Aug-05 14:06 
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 

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.