Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unsafe code safety question Pin
Lutosław27-Dec-11 5:26
Lutosław27-Dec-11 5:26 
GeneralRe: Unsafe code safety question Pin
PIEBALDconsult27-Dec-11 5:28
mvePIEBALDconsult27-Dec-11 5:28 
AnswerRe: Unsafe code safety question Pin
jschell27-Dec-11 10:18
jschell27-Dec-11 10:18 
QuestionResizing Controls According to Forms' Size Pin
AmbiguousName27-Dec-11 2:15
AmbiguousName27-Dec-11 2:15 
AnswerRe: Resizing Controls According to Forms' Size Pin
PIEBALDconsult27-Dec-11 2:29
mvePIEBALDconsult27-Dec-11 2:29 
AnswerRe: Resizing Controls According to Forms' Size Pin
David C# Hobbyist.27-Dec-11 2:34
professionalDavid C# Hobbyist.27-Dec-11 2:34 
AnswerRe: Resizing Controls According to Forms' Size Pin
Shameel27-Dec-11 4:08
professionalShameel27-Dec-11 4:08 
AnswerRe: Resizing Controls According to Forms' Size Pin
BillWoodruff27-Dec-11 4:38
professionalBillWoodruff27-Dec-11 4:38 
In addition to studying Anchor and Dock properties of Controls, as suggested here, you can also use aspects of Padding and Margin to affect the way Controls are positioned ... in relation to other Controls ... and/or in relation to Container Controls they are "placed within."

Note that WinForms, and many Controls, have MaximumSize and MinimumSize properties, that may affect their re-size behavior, depending on how they are anchored/docked, or affected by Margin, or Padding inside Container Controls, and/or in relation to the position of other Controls.

Specifically with a TextBox: I think an important design issue is what the expected content is: how brief, how long ? A single line TextBox is one beast; a MultiLine another ? Under some conditions I would not be concerned with re-sizing a TextBox; under other conditions: yes.
"It is the mark of an educated mind to be able to entertain a thought without accepting it." Aristotle

GeneralRe: Resizing Controls According to Forms' Size Pin
Roger Wright27-Dec-11 20:58
professionalRoger Wright27-Dec-11 20:58 
GeneralRe: Resizing Controls According to Forms' Size Pin
BillWoodruff29-Dec-11 2:31
professionalBillWoodruff29-Dec-11 2:31 
GeneralRe: Resizing Controls According to Forms' Size Pin
BobJanova30-Dec-11 14:44
BobJanova30-Dec-11 14:44 
GeneralRe: Resizing Controls According to Forms' Size Pin
BillWoodruff2-Jan-12 14:29
professionalBillWoodruff2-Jan-12 14:29 
AnswerRe: Resizing Controls According to Forms' Size Pin
RaviRanjanKr31-Dec-11 3:41
professionalRaviRanjanKr31-Dec-11 3:41 
Questionhow can we write large source code in 2 or more seperate units? Pin
Fred 3427-Dec-11 2:04
Fred 3427-Dec-11 2:04 
AnswerRe: how can we write large source code in 2 or more seperate units? Pin
PIEBALDconsult27-Dec-11 2:30
mvePIEBALDconsult27-Dec-11 2:30 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
Shameel27-Dec-11 3:32
professionalShameel27-Dec-11 3:32 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
Tosche Station27-Dec-11 3:55
Tosche Station27-Dec-11 3:55 
AnswerRe: how can we write large source code in 2 or more seperate units? Pin
AmitGajjar27-Dec-11 3:10
professionalAmitGajjar27-Dec-11 3:10 
AnswerRe: how can we write large source code in 2 or more seperate units? Pin
Shameel27-Dec-11 3:34
professionalShameel27-Dec-11 3:34 
AnswerRe: how can we write large source code in 2 or more seperate units? Pin
#realJSOP27-Dec-11 4:08
mve#realJSOP27-Dec-11 4:08 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
PIEBALDconsult27-Dec-11 4:29
mvePIEBALDconsult27-Dec-11 4:29 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
Shameel27-Dec-11 4:42
professionalShameel27-Dec-11 4:42 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
PIEBALDconsult27-Dec-11 4:56
mvePIEBALDconsult27-Dec-11 4:56 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
Shameel27-Dec-11 5:09
professionalShameel27-Dec-11 5:09 
GeneralRe: how can we write large source code in 2 or more seperate units? Pin
PIEBALDconsult27-Dec-11 5:30
mvePIEBALDconsult27-Dec-11 5:30 

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.