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

C#

 
GeneralRe: Autoresizing two panels with one splitter Pin
Heath Stewart6-Jan-04 17:17
protectorHeath Stewart6-Jan-04 17:17 
It's all about the order that the controls are added to your form. Add a Panel, dock it to the left (for example), then add a Splitter (default is to dock left), then add your final Panel with dock fill. In code, it would look like this:
this.Controls.AddRange(new Control[]
  {
    this.panel2,
    this.splitter,
    this.panel1
  });


 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Autoresizing two panels with one splitter Pin
Luther Baker6-Jan-04 18:47
Luther Baker6-Jan-04 18:47 
GeneralRe: Autoresizing two panels with one splitter Pin
Heath Stewart6-Jan-04 18:55
protectorHeath Stewart6-Jan-04 18:55 
GeneralRe: Autoresizing two panels with one splitter Pin
RB@Emphasys7-Jan-04 3:57
RB@Emphasys7-Jan-04 3:57 
GeneralCompare files Pin
Gary Kirkham6-Jan-04 9:13
Gary Kirkham6-Jan-04 9:13 
GeneralRe: Compare files Pin
Mazdak6-Jan-04 9:22
Mazdak6-Jan-04 9:22 
GeneralRe: Compare files Pin
Kentamanos6-Jan-04 11:13
Kentamanos6-Jan-04 11:13 
GeneralListView and ProgressBar Pin
Guinness4Strength6-Jan-04 8:30
Guinness4Strength6-Jan-04 8:30 
GeneralRe: ListView and ProgressBar Pin
Heath Stewart6-Jan-04 17:15
protectorHeath Stewart6-Jan-04 17:15 
GeneralGetting info out of datagrid cell Pin
obelisk296-Jan-04 8:17
obelisk296-Jan-04 8:17 
GeneralRe: Getting info out of datagrid cell Pin
Mazdak6-Jan-04 9:19
Mazdak6-Jan-04 9:19 
GeneralFolderBrowserDialog Pin
Gary Kirkham6-Jan-04 7:15
Gary Kirkham6-Jan-04 7:15 
GeneralNever Mind Pin
Gary Kirkham6-Jan-04 8:12
Gary Kirkham6-Jan-04 8:12 
Generalcomparing strings Pin
Hayat6-Jan-04 6:45
Hayat6-Jan-04 6:45 
GeneralRe: comparing strings Pin
Colin Angus Mackay6-Jan-04 6:57
Colin Angus Mackay6-Jan-04 6:57 
GeneralRe: comparing strings Pin
Heath Stewart6-Jan-04 17:41
protectorHeath Stewart6-Jan-04 17:41 
GeneralRe: comparing strings Pin
Angel Reyes6-Jan-04 14:00
Angel Reyes6-Jan-04 14:00 
GeneralRe: comparing strings Pin
Heath Stewart6-Jan-04 17:08
protectorHeath Stewart6-Jan-04 17:08 
GeneralRe: comparing strings Pin
Hayat9-Jan-04 2:04
Hayat9-Jan-04 2:04 
QuestionHow do I get an app to run on boot? Pin
cjengler6-Jan-04 4:16
cjengler6-Jan-04 4:16 
AnswerRe: How do I get an app to run on boot? Pin
Michael P Butler6-Jan-04 4:32
Michael P Butler6-Jan-04 4:32 
AnswerRe: How do I get an app to run on boot? Pin
Heath Stewart6-Jan-04 4:35
protectorHeath Stewart6-Jan-04 4:35 
AnswerRe: How do I get an app to run on boot? Pin
cjengler6-Jan-04 5:49
cjengler6-Jan-04 5:49 
AnswerRe: How do I get an app to run on boot? Pin
jparsons6-Jan-04 6:40
jparsons6-Jan-04 6:40 
QuestionPlaying Mp3 file? Pin
thomasa6-Jan-04 3:24
thomasa6-Jan-04 3:24 

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.