Click here to Skip to main content
15,891,704 members
Home / Discussions / C#
   

C#

 
Questionc# Pin
shen1728-Sep-07 18:12
shen1728-Sep-07 18:12 
AnswerRe: c# Pin
mav.northwind28-Sep-07 18:51
mav.northwind28-Sep-07 18:51 
GeneralRe: c# Pin
DaveyM6929-Sep-07 0:01
professionalDaveyM6929-Sep-07 0:01 
AnswerRe: c# Pin
Paul Conrad29-Sep-07 7:00
professionalPaul Conrad29-Sep-07 7:00 
QuestionDeferring complex resize code, but still using Resize events Pin
JoeRip28-Sep-07 17:55
JoeRip28-Sep-07 17:55 
AnswerRe: Deferring complex resize code, but still using Resize events Pin
mav.northwind28-Sep-07 19:30
mav.northwind28-Sep-07 19:30 
GeneralRe: Deferring complex resize code, but still using Resize events Pin
JoeRip28-Sep-07 19:38
JoeRip28-Sep-07 19:38 
GeneralRe: Deferring complex resize code, but still using Resize events Pin
JoeRip27-Dec-07 22:23
JoeRip27-Dec-07 22:23 
Although it's not directly exposed in the Form Properties window in VS 200x, if you look in MSDN you'll see that a form has multiple resizing events, exactly what you need:

Remarks

The ResizeBegin event is raised when the user begins to resize a form, typically by clicking and dragging one of the borders or the sizing grip located on the lower-right corner of the form. This action puts the form into a modal sizing loop until the resize operation is completed. Typically, the following set of events occurs during a resize operation:

1. A single ResizeBegin event occurs as the form enters resizing mode.
2. Zero or more pairs of Resize and SizeChanged events occur as the form's Size is modified.
3. A single ResizeEnd event occurs as the form exits resizing mode.

Note

Just clicking without dragging on a border or resizing grip will generate the ResizeBegin and ResizeEnd events without any intermediate Resize and SizeChanged event pairs.

The ResizeBegin and ResizeEnd pair of events is also raised when the user moves the form, typically by clicking and dragging on the caption bar. These events are not generated by programmatic manipulation of the form, for example by changing the Size or Location properties.

See for .Net 2.0: http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.resizebegin(VS.80).aspx[^]
QuestionHow to execute my program when print button click Pin
Chatura Dilan28-Sep-07 15:49
Chatura Dilan28-Sep-07 15:49 
AnswerRe: How to execute my program when print button click Pin
Christian Graus28-Sep-07 17:00
protectorChristian Graus28-Sep-07 17:00 
QuestionC# file alteration during runtime? possible? Pin
admgamer28-Sep-07 14:53
admgamer28-Sep-07 14:53 
AnswerRe: C# file alteration during runtime? possible? Pin
Colin Angus Mackay28-Sep-07 15:19
Colin Angus Mackay28-Sep-07 15:19 
QuestionPassing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 14:35
JoeRip28-Sep-07 14:35 
AnswerRe: Passing a Form or Controls .Controls collection Pin
Colin Angus Mackay28-Sep-07 15:21
Colin Angus Mackay28-Sep-07 15:21 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 15:26
JoeRip28-Sep-07 15:26 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 15:39
JoeRip28-Sep-07 15:39 
AnswerRe: Passing a Form or Controls .Controls collection Pin
George L. Jackson28-Sep-07 15:38
George L. Jackson28-Sep-07 15:38 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 15:40
JoeRip28-Sep-07 15:40 
GeneralRe: Passing a Form or Controls .Controls collection Pin
George L. Jackson28-Sep-07 15:58
George L. Jackson28-Sep-07 15:58 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 16:03
JoeRip28-Sep-07 16:03 
QuestionThree Problems requires help! Pin
Smashing_Blizzard28-Sep-07 10:55
Smashing_Blizzard28-Sep-07 10:55 
AnswerRe: Three Problems requires help! Pin
PIEBALDconsult28-Sep-07 11:37
mvePIEBALDconsult28-Sep-07 11:37 
JokeRe: Three Problems requires help! Pin
TJoe28-Sep-07 12:51
TJoe28-Sep-07 12:51 
GeneralRe: Three Problems requires help! Pin
PIEBALDconsult28-Sep-07 13:44
mvePIEBALDconsult28-Sep-07 13:44 
GeneralRe: Three Problems requires help! Pin
Smashing_Blizzard29-Sep-07 8:49
Smashing_Blizzard29-Sep-07 8:49 

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.