Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
AnswerRe: BOOL FLAG Problem in Paint Handler Pin
Robert Rohde1-Oct-05 7:42
Robert Rohde1-Oct-05 7:42 
GeneralRe: BOOL FLAG Problem in Paint Handler Pin
Anonymous1-Oct-05 9:11
Anonymous1-Oct-05 9:11 
AnswerRe: BOOL FLAG Problem in Paint Handler Pin
Mahesh Kumar V K2-Oct-05 23:16
Mahesh Kumar V K2-Oct-05 23:16 
QuestionProperty Builder? Pin
Sled Dog1-Oct-05 5:46
Sled Dog1-Oct-05 5:46 
AnswerRe: Property Builder? Pin
David Stone1-Oct-05 19:38
sitebuilderDavid Stone1-Oct-05 19:38 
GeneralRe: Property Builder? Pin
Sled Dog2-Oct-05 2:38
Sled Dog2-Oct-05 2:38 
QuestionResize the user defined control Pin
Ming Luo1-Oct-05 5:45
Ming Luo1-Oct-05 5:45 
AnswerRe: Resize the user defined control Pin
Robert Rohde1-Oct-05 7:50
Robert Rohde1-Oct-05 7:50 
Hmmm... you give us some code which you say doesn't do what you want it to do. But you also don't describe what you exactly want to do... Are we going to guess what you want?

You'll have to explain a bit more if we should help you. But here is a more general tip:

Instead of calculating the new sizes yourself you should use the docking and/or anchoring mechansims of .Net controls. If you want a DateTimePicker at the top and a TextBox filling out the rest of the control you would assign DockStyle.Top to the Dock property of the DateTimePicker and DockStyle.Fill to the TextBox.
Note that when using docking the order of the controls in the form are relevant (and can be changed via the designer).
Questionmodify Lunar Lander game Pin
nume1-Oct-05 5:41
nume1-Oct-05 5:41 
AnswerRe: modify Lunar Lander game Pin
Robert Rohde1-Oct-05 7:56
Robert Rohde1-Oct-05 7:56 
Questionpanel shape hotspots Pin
michaelreian1-Oct-05 4:31
michaelreian1-Oct-05 4:31 
QuestionHost a Remote Object in a Windows Service Pin
akshayswaroop1-Oct-05 4:04
akshayswaroop1-Oct-05 4:04 
QuestionDatagrid_pageindexchanged event is not firing Pin
Deepml1-Oct-05 2:30
Deepml1-Oct-05 2:30 
QuestionStructs or Classes Pin
Heinz_30-Sep-05 18:00
Heinz_30-Sep-05 18:00 
AnswerRe: Structs or Classes Pin
Jose Lamas Rios30-Sep-05 18:31
Jose Lamas Rios30-Sep-05 18:31 
AnswerRe: Structs or Classes Pin
Mystic_Unicorn30-Sep-05 22:16
Mystic_Unicorn30-Sep-05 22:16 
GeneralRe: Structs or Classes Pin
Tim Smith1-Oct-05 16:35
Tim Smith1-Oct-05 16:35 
GeneralRe: Structs or Classes Pin
big_trev2-Oct-05 0:52
big_trev2-Oct-05 0:52 
AnswerRe: Structs or Classes Pin
Tim Smith1-Oct-05 16:36
Tim Smith1-Oct-05 16:36 
GeneralRe: Structs or Classes Pin
leppie2-Oct-05 3:20
leppie2-Oct-05 3:20 
GeneralRe: Structs or Classes Pin
Tim Smith3-Oct-05 3:38
Tim Smith3-Oct-05 3:38 
GeneralRe: Structs or Classes Pin
leppie3-Oct-05 3:50
leppie3-Oct-05 3:50 
QuestionInterface members accesibility Pin
Heinz_30-Sep-05 17:44
Heinz_30-Sep-05 17:44 
AnswerRe: Interface members accesibility Pin
Colin Angus Mackay1-Oct-05 0:53
Colin Angus Mackay1-Oct-05 0:53 
AnswerRe: Interface members accesibility Pin
Robert Rohde1-Oct-05 4:45
Robert Rohde1-Oct-05 4:45 

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.