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

C#

 
GeneralRe: Flashing tray icon Pin
Chals8-Mar-05 11:01
Chals8-Mar-05 11:01 
GeneralOpengl in control Pin
thepersonof8-Mar-05 6:32
thepersonof8-Mar-05 6:32 
GeneralRe: Opengl in control Pin
thepersonof10-Mar-05 5:53
thepersonof10-Mar-05 5:53 
GeneralSocket programming Pin
vinu.netguy8-Mar-05 5:49
vinu.netguy8-Mar-05 5:49 
GeneralRe: Socket programming Pin
TylerBrinks8-Mar-05 6:35
TylerBrinks8-Mar-05 6:35 
GeneralRe: Socket programming Pin
Mike Dimmick8-Mar-05 8:17
Mike Dimmick8-Mar-05 8:17 
GeneralVim plug in for C# Pin
Esmo20008-Mar-05 5:23
Esmo20008-Mar-05 5:23 
GeneralMdiParent controls displays in front of MdiChild form... Pin
new_phoenix8-Mar-05 5:02
new_phoenix8-Mar-05 5:02 
I will try to keep this question short and simple in compliance with codeproject standards. When working with MdiParent, I need to add some controls to the MdiParent. Then when displaying the MdiChild form, those controls on the MdiParent display in front of the MdiChild rather than properly being covered by the MdiChild.

To duplicate the conditions of the question. Create a windows C# form, set the isMdiContainer property to true, create a menu for the C# windows form, and then add the following code to the menu click event. Add a lot of controls to the MdiParent form including a picture box, a combo box, a text box and a panel control. After that create another windows C# form as the MdiChild form.

Add this code to the menu click event:

<br />
protected void MDIChildNew_Click(object sender, System.EventArgs e)<br />
{<br />
    Form2 newMDIChild = new Form2();<br />
    newMDIChild.MdiParent = this;<br />
    newMDIChild.Show();<br />
}<br />


Helpful link: http://msdn.microsoft.com

After duplicating this, run the application and click the menu event. Note that the MdiChild form is behind the MdiParent form controls including the picture box, the combo box, the text box and the panel control that were added. How do I correct this problem?
QuestionHow to find out if a file is local or from the network Pin
achoi68-Mar-05 4:49
achoi68-Mar-05 4:49 
AnswerRe: How to find out if a file is local or from the network Pin
techieboi8-Mar-05 6:02
techieboi8-Mar-05 6:02 
GeneralRe: How to find out if a file is local or from the network Pin
achoi68-Mar-05 7:27
achoi68-Mar-05 7:27 
GeneralReferencelist is changing automaticly Pin
fracalifa8-Mar-05 4:43
fracalifa8-Mar-05 4:43 
Generalbuiding firewalls Pin
Mridang Agarwalla8-Mar-05 3:14
Mridang Agarwalla8-Mar-05 3:14 
GeneralRe: buiding firewalls Pin
TylerBrinks8-Mar-05 6:30
TylerBrinks8-Mar-05 6:30 
Generalparallel processing, grid computing, clusters....whatever! Pin
Mridang Agarwalla8-Mar-05 3:08
Mridang Agarwalla8-Mar-05 3:08 
Generalwant to generate C# code Pin
rmedo8-Mar-05 2:42
rmedo8-Mar-05 2:42 
GeneralRe: want to generate C# code Pin
J4amieC8-Mar-05 3:35
J4amieC8-Mar-05 3:35 
GeneralRe: want to generate C# code Pin
rmedo8-Mar-05 3:42
rmedo8-Mar-05 3:42 
GeneralRe: want to generate C# code Pin
Werdna8-Mar-05 19:17
Werdna8-Mar-05 19:17 
GeneralPass string from Form2 to textbox of Form1 Pin
ESTAN8-Mar-05 2:42
ESTAN8-Mar-05 2:42 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
SimonS8-Mar-05 2:45
SimonS8-Mar-05 2:45 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
ESTAN8-Mar-05 3:26
ESTAN8-Mar-05 3:26 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
ESTAN9-Mar-05 3:52
ESTAN9-Mar-05 3:52 
Generalgraphs in c# Pin
Anonymous8-Mar-05 1:54
Anonymous8-Mar-05 1:54 
GeneralRe: graphs in c# Pin
eggie58-Mar-05 1:57
eggie58-Mar-05 1:57 

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.