Click here to Skip to main content
15,888,002 members
Home / Discussions / C#
   

C#

 
GeneralRe: Context Menus will text box Pin
Carlos H. Perez19-Sep-03 17:47
Carlos H. Perez19-Sep-03 17:47 
GeneralRe: Context Menus will text box Pin
Nish Nishant19-Sep-03 18:07
sitebuilderNish Nishant19-Sep-03 18:07 
GeneralRe: Context Menus will text box Pin
J. Dunlap19-Sep-03 18:11
J. Dunlap19-Sep-03 18:11 
GeneralTrying to Access Managed C# Interface from Non Managed C++ Extended Stored Proc Pin
acote@postech.ca19-Sep-03 6:34
acote@postech.ca19-Sep-03 6:34 
GeneralC# Photo Album Viewer - Need help, will pay. Pin
Joel Briggs19-Sep-03 6:09
Joel Briggs19-Sep-03 6:09 
GeneralRe: C# Photo Album Viewer - Need help, will pay. Pin
fadee20-Sep-03 1:37
fadee20-Sep-03 1:37 
GeneralResourceManager.GetString() unsafe Pin
berndg19-Sep-03 5:25
berndg19-Sep-03 5:25 
GeneralParent form / child form docking problems Pin
Member 54950419-Sep-03 4:37
Member 54950419-Sep-03 4:37 
I have a parent form that I have set the IsMdiContainer property to true. I have 2 other forms that I want to show up inside of the parent form. The first form called frmAnchor will be docked to the top of the parent form. The second form called frmCollect I want to fill the remaining area of the parent form, so I set the DockStyle to fill. When I run the program it looks OK, however once I click on the top form (frmAnchor) it shifts the bottom form (frmCollect) up to fill the entire area (even the area under frmAnchor). So, it is almost like using DockStyle.Fill on the bottom form doesn't know about the top form and fills underneath it.

Here is the code I use to show the child forms. This code is inside the parent form. Any ideas on how to keep the bottom form from shifting up when clicking on the top form?


frmAnchor newMDIChild = new frmAnchor();
// Set the Parent Form of the Child window.
newMDIChild.MdiParent = this;
newMDIChild.Dock = DockStyle.Top;
newMDIChild.Show();

frmCollect newMDIChild2 = new frmCollect();
// Set the Parent Form of the Child window.
newMDIChild2.MdiParent = this;
newMDIChild2.Dock = DockStyle.Fill;
newMDIChild2.Show();

Generalurgent help!! how to create form like project property page of CSharp project in a solution Pin
Maggiem19-Sep-03 4:12
Maggiem19-Sep-03 4:12 
GeneralRe: urgent help!! how to create form like project property page of CSharp project in a solution Pin
leppie19-Sep-03 7:08
leppie19-Sep-03 7:08 
GeneralHelp with Outlook Global Address List!!!! Pin
frank2119-Sep-03 3:39
frank2119-Sep-03 3:39 
GeneralDataGrid binding. Pin
kalla12319-Sep-03 2:26
kalla12319-Sep-03 2:26 
GeneralRe: DataGrid binding. Pin
Mazdak19-Sep-03 6:48
Mazdak19-Sep-03 6:48 
GeneralRe: DataGrid binding. Pin
Jim MacDonald19-Sep-03 9:44
Jim MacDonald19-Sep-03 9:44 
GeneralRe: DataGrid binding. Pin
kalla12319-Sep-03 10:01
kalla12319-Sep-03 10:01 
Generaltabcontrol Pin
brain2cpu18-Sep-03 23:49
professionalbrain2cpu18-Sep-03 23:49 
GeneralRe: tabcontrol Pin
NetPointerIN19-Sep-03 7:47
NetPointerIN19-Sep-03 7:47 
GeneralRe: tabcontrol Pin
brain2cpu23-Sep-03 20:08
professionalbrain2cpu23-Sep-03 20:08 
Generalmp3 calculations Pin
Uncle Monkey18-Sep-03 23:29
Uncle Monkey18-Sep-03 23:29 
GeneralRe: mp3 calculations Pin
Julian Bucknall [MSFT]19-Sep-03 6:33
Julian Bucknall [MSFT]19-Sep-03 6:33 
GeneralRe: mp3 calculations Pin
Uncle Monkey21-Sep-03 22:31
Uncle Monkey21-Sep-03 22:31 
GeneralRe: mp3 calculations Pin
Julian Bucknall [MSFT]22-Sep-03 5:25
Julian Bucknall [MSFT]22-Sep-03 5:25 
GeneralRe: mp3 calculations Pin
Uncle Monkey22-Sep-03 5:32
Uncle Monkey22-Sep-03 5:32 
Generali want to run the sqlserver agent server Pin
meetweb18-Sep-03 20:07
meetweb18-Sep-03 20:07 
GeneralProblem in accessing an unmanaged dll Pin
Rashi_Ajay18-Sep-03 19:34
Rashi_Ajay18-Sep-03 19: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.