Click here to Skip to main content
15,888,610 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Nitgen hamster source code Pin
Christian Graus10-Jul-07 2:42
protectorChristian Graus10-Jul-07 2:42 
GeneralRe: Nitgen hamster source code Pin
Paul Conrad16-Jul-07 9:55
professionalPaul Conrad16-Jul-07 9:55 
AnswerRe: Nitgen hamster source code Pin
martin_hughes11-Jul-07 5:14
martin_hughes11-Jul-07 5:14 
AnswerRe: Nitgen hamster source code Pin
Pete O'Hanlon11-Jul-07 22:55
mvePete O'Hanlon11-Jul-07 22:55 
QuestionHelp Mi pls... Pin
icebearer7-Jul-07 6:47
icebearer7-Jul-07 6:47 
AnswerRe: Help Mi pls... Pin
Tirthadip9-Jul-07 0:22
Tirthadip9-Jul-07 0:22 
AnswerRe: Help Mi pls... Pin
Christian Graus9-Jul-07 1:03
protectorChristian Graus9-Jul-07 1:03 
QuestionUserControl and AutoSize Pin
robheffo6-Jul-07 18:15
robheffo6-Jul-07 18:15 
Hi,

I am working on a custom UserControl that needs to AutoSize itself to fit it's contents.
It doesn't use any of the traditional Text, Font, Other Controls, etc and all the content generation is done with GDI+

I am overriding GetPreferredSize to return the size that I want the control to be, and when I set the AutoSize property to true, the control sizes correctly.

I have some custom properties that when changed will make the control have to grow or shrink to accommodate the updated contents but for some reason I just can't figure out how to make the control update it's size in response to these custom properties.

Could anyone point me in the right direction to sort this out?

Regards,
Heffo
AnswerRe: UserControl and AutoSize Pin
Richard Blythe7-Jul-07 14:06
Richard Blythe7-Jul-07 14:06 
QuestionHow to get CurrentRowIndex in vs 2005 Pin
samerh5-Jul-07 23:10
samerh5-Jul-07 23:10 
AnswerRe: How to get CurrentRowIndex in vs 2005 Pin
Giorgi Dalakishvili6-Jul-07 1:09
mentorGiorgi Dalakishvili6-Jul-07 1:09 
GeneralRe: How to get CurrentRowIndex in vs 2005 Pin
samerh6-Jul-07 1:39
samerh6-Jul-07 1:39 
QuestionMDI and Child forms ISSUE Pin
pashitech5-Jul-07 4:52
pashitech5-Jul-07 4:52 
AnswerRe: MDI and Child forms ISSUE Pin
RepliCrux11-Jul-07 18:56
RepliCrux11-Jul-07 18:56 
AnswerRe: MDI and Child forms ISSUE Pin
Alpesh Donga11-Jul-07 20:19
Alpesh Donga11-Jul-07 20:19 
QuestionUneditable ComboBox (C#) [modified] [solved] Pin
ruanr4-Jul-07 23:43
ruanr4-Jul-07 23:43 
AnswerRe: Uneditable ComboBox (C#) Pin
originSH4-Jul-07 23:51
originSH4-Jul-07 23:51 
QuestionWindows application + Windows and Appearence Pin
rk4ps4-Jul-07 2:30
rk4ps4-Jul-07 2:30 
AnswerRe: Windows application + Windows and Appearence Pin
originSH4-Jul-07 2:40
originSH4-Jul-07 2:40 
AnswerRe: Windows application + Windows and Appearence Pin
Brady Kelly4-Jul-07 4:41
Brady Kelly4-Jul-07 4:41 
GeneralRe: Windows application + Windows and Appearence Pin
originSH4-Jul-07 22:45
originSH4-Jul-07 22:45 
AnswerRe: Windows application + Windows and Appearence Pin
Craster6-Jul-07 1:43
Craster6-Jul-07 1:43 
Questionprinting in C#.net 2005 window application Pin
kk_upadhyay3-Jul-07 1:30
kk_upadhyay3-Jul-07 1:30 
AnswerRe: printing in C#.net 2005 window application Pin
originSH3-Jul-07 4:05
originSH3-Jul-07 4:05 
AnswerRe: printing in C#.net 2005 window application Pin
Paul Conrad6-Jul-07 15:13
professionalPaul Conrad6-Jul-07 15:13 

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.