Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding a total column to datagrid control Pin
Not Active18-Aug-07 10:18
mentorNot Active18-Aug-07 10:18 
GeneralRe: Adding a total column to datagrid control Pin
Muammar©18-Aug-07 20:24
Muammar©18-Aug-07 20:24 
GeneralRe: Adding a total column to datagrid control Pin
Not Active19-Aug-07 4:57
mentorNot Active19-Aug-07 4:57 
AnswerRe: Adding a total column to datagrid control Pin
Urs Enzler19-Aug-07 0:53
Urs Enzler19-Aug-07 0:53 
Question(System.NotSupportedException: No devices of the category ) error in running sample code of directx,capture class library Pin
kapiltheripper18-Aug-07 8:42
kapiltheripper18-Aug-07 8:42 
QuestionHow do I Encrypt Connection String Password in C# Windows Application Pin
Hadi638418-Aug-07 8:25
Hadi638418-Aug-07 8:25 
AnswerRe: How do I Encrypt Connection String Password in C# Windows Application Pin
karle18-Aug-07 9:04
karle18-Aug-07 9:04 
QuestionNative docking in Winforms MDI app? Pin
Ravi Bhavnani18-Aug-07 7:27
professionalRavi Bhavnani18-Aug-07 7:27 
I have a WinForms MDI app that has a docked navigation panel at the left edge. However, when I create MDI child windows, the main window seems to ignore the presence of the navigation panel and uses its entire client area to layout the child windows. Is it possible to override the MDI container's layout logic and reduce its client area by the space occupied by the navigation panel?

I tried doing this in the main window's Load handler, but it didn't seem to have any effect. (I understand that this would only set the initial client area, which may need to be recomputed in a SizeChanged handler).
private void MainFrm_Load
  (object sender,
   EventArgs e)
{
   // Nav panel test
   NavigatorFrm nf = new NavigatorFrm();
   nf.MdiParent = this;
   nf.Dock = DockStyle.Left;
   nf.Show();
   this.ClientSize = new Size (this.ClientSize.Width - nf.Width, this.ClientSize.Height);
}
Thanks,

/ravi

This is your brain on Celcius
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com

AnswerRe: Native docking in Winforms MDI app? Pin
martin_hughes19-Aug-07 4:07
martin_hughes19-Aug-07 4:07 
AnswerRe: Native docking in Winforms MDI app? Pin
Mathew Jibin5-Sep-10 1:57
Mathew Jibin5-Sep-10 1:57 
QuestionDescription popup box Pin
ddabble18-Aug-07 5:52
ddabble18-Aug-07 5:52 
AnswerRe: Description popup box Pin
martin_hughes18-Aug-07 5:55
martin_hughes18-Aug-07 5:55 
AnswerRe: Description popup box Pin
Muammar©18-Aug-07 9:36
Muammar©18-Aug-07 9:36 
GeneralRe: Description popup box Pin
Paul Conrad18-Aug-07 10:16
professionalPaul Conrad18-Aug-07 10:16 
QuestionGamserver Query Library Pin
wannabeuk18-Aug-07 3:37
wannabeuk18-Aug-07 3:37 
Questiondisplay the machine time in a textbox Pin
costavo18-Aug-07 3:01
costavo18-Aug-07 3:01 
AnswerRe: display the machine time in a textbox Pin
N a r e s h P a t e l18-Aug-07 3:19
N a r e s h P a t e l18-Aug-07 3:19 
GeneralRe: display the machine time in a textbox Pin
yoaz18-Aug-07 9:14
yoaz18-Aug-07 9:14 
GeneralRe: display the machine time in a textbox Pin
Muammar©18-Aug-07 9:42
Muammar©18-Aug-07 9:42 
GeneralRe: display the machine time in a textbox Pin
Luc Pattyn18-Aug-07 10:20
sitebuilderLuc Pattyn18-Aug-07 10:20 
GeneralRe: display the machine time in a textbox Pin
Muammar©18-Aug-07 20:14
Muammar©18-Aug-07 20:14 
GeneralRe: display the machine time in a textbox Pin
Not Active18-Aug-07 10:22
mentorNot Active18-Aug-07 10:22 
GeneralRe: display the machine time in a textbox Pin
Muammar©18-Aug-07 20:12
Muammar©18-Aug-07 20:12 
GeneralRe: display the machine time in a textbox Pin
Muammar©18-Aug-07 20:19
Muammar©18-Aug-07 20:19 
GeneralRe: display the machine time in a textbox Pin
yoaz21-Aug-07 9:31
yoaz21-Aug-07 9:31 

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.