Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: StackOverflowException Pin
leppie8-Jul-03 13:38
leppie8-Jul-03 13:38 
GeneralRe: StackOverflowException Pin
Anonymous8-Jul-03 18:35
Anonymous8-Jul-03 18:35 
GeneralRe: StackOverflowException Pin
Andy Smith8-Jul-03 18:58
Andy Smith8-Jul-03 18:58 
GeneralI've looked everywhere Pin
mdolby8-Jul-03 8:54
mdolby8-Jul-03 8:54 
GeneralRe: I've looked everywhere Pin
Nathan Blomquist8-Jul-03 9:19
Nathan Blomquist8-Jul-03 9:19 
GeneralPossible creation of comp.std.cli and comp.std.csharp Pin
Eric Gunnerson (msft)8-Jul-03 8:23
Eric Gunnerson (msft)8-Jul-03 8:23 
GeneralClickety Police Pin
leppie8-Jul-03 9:07
leppie8-Jul-03 9:07 
GeneralMaking one user control aware of another Pin
frogb0x8-Jul-03 7:57
frogb0x8-Jul-03 7:57 
Hello,

I have a problem that I'm still stuck on. I have a form with a pair of user controls. The first user control is displayed when the program runs. When a button is clicked, I want the first user control to remove itself from the form, and the second user control to appear.

However, when I write the code for the button, all I can do is get the first UC to disappear; the second UC never draws itself.

Someone earlier told me to instantiate an instance of the second user control in the form's constructor, and add this line into the form:

this.Parent.Controls.Add(newUserControl);

However, this still doesn't solve the issue of the first user control not knowing about the second user control. Can someone point me in the right direction?
GeneralRe: Making one user control aware of another Pin
leppie8-Jul-03 8:34
leppie8-Jul-03 8:34 
GeneralRe: Making one user control aware of another Pin
Not Active8-Jul-03 9:54
mentorNot Active8-Jul-03 9:54 
GeneralHere's my code so far Pin
frogb0x8-Jul-03 10:32
frogb0x8-Jul-03 10:32 
GeneralRe: Here's my code so far Pin
leppie8-Jul-03 13:34
leppie8-Jul-03 13:34 
GeneralRe: Here's my code so far Pin
frogb0x8-Jul-03 13:35
frogb0x8-Jul-03 13:35 
GeneralRe: Here's my code so far Pin
leppie8-Jul-03 14:05
leppie8-Jul-03 14:05 
GeneralSetting form location Pin
mcgahanfl8-Jul-03 7:32
mcgahanfl8-Jul-03 7:32 
GeneralRe: Setting form location Pin
dynamic8-Jul-03 9:40
dynamic8-Jul-03 9:40 
GeneralRe: Setting form location Pin
mcgahanfl8-Jul-03 10:08
mcgahanfl8-Jul-03 10:08 
GeneralCreate Image With Text Pin
Werdna8-Jul-03 6:54
Werdna8-Jul-03 6:54 
GeneralRichTextBox: How to get the count of tabs in a TextLine Pin
STW8-Jul-03 6:17
STW8-Jul-03 6:17 
GeneralRe: RichTextBox: How to get the count of tabs in a TextLine Pin
dynamic8-Jul-03 9:25
dynamic8-Jul-03 9:25 
GeneralRe: RichTextBox: How to get the count of tabs in a TextLine Pin
STW8-Jul-03 10:43
STW8-Jul-03 10:43 
QuestionChanging listview icons? Pin
Manster8-Jul-03 4:57
Manster8-Jul-03 4:57 
GeneralBounds Checker in C# / .NET Pin
NKH8-Jul-03 4:23
NKH8-Jul-03 4:23 
GeneralRe: Bounds Checker in C# / .NET Pin
leppie8-Jul-03 7:41
leppie8-Jul-03 7:41 
GeneralRe: Bounds Checker in C# / .NET Pin
Kant8-Jul-03 16:40
Kant8-Jul-03 16:40 

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.