Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
GeneralTest and label fields misalign on windows 2000 Pin
Parrish Pope21-May-04 15:58
sussParrish Pope21-May-04 15:58 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Dimitris Iliopoulos22-May-04 0:10
Dimitris Iliopoulos22-May-04 0:10 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart22-May-04 2:47
protectorHeath Stewart22-May-04 2:47 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart22-May-04 3:38
protectorHeath Stewart22-May-04 3:38 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Dimitris Iliopoulos23-May-04 3:46
Dimitris Iliopoulos23-May-04 3:46 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart23-May-04 3:49
protectorHeath Stewart23-May-04 3:49 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Parrish23-May-04 7:17
Parrish23-May-04 7:17 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart23-May-04 7:43
protectorHeath Stewart23-May-04 7:43 
You don't instantiate the Display class as I presented it - it defines static methods and properties: there is no need to instantiate it (which is why I made it sealed and the default constructor private).

Yes, when your display changes you would need to run the sizes and locations of the controls through these methods. If you don't understand them, read the other links I gave you.

There is more information about programming for different resolutions at http://msdn.microsoft.com[^].

 

Microsoft MVP, Visual C#
My Articles
Generalabout one Process, multi AppDomain Design Pin
pig123421-May-04 14:52
pig123421-May-04 14:52 
GeneralRe: about one Process, multi AppDomain Design Pin
Heath Stewart22-May-04 2:45
protectorHeath Stewart22-May-04 2:45 
GeneralPrinting a .pdf Pin
TigerNinja_21-May-04 11:55
TigerNinja_21-May-04 11:55 
GeneralRe: Printing a .pdf Pin
Dave Kreskowiak21-May-04 12:24
mveDave Kreskowiak21-May-04 12:24 
GeneralVolume Control Pin
kratchkov21-May-04 10:15
kratchkov21-May-04 10:15 
QuestionHow Can I Unload an Assembly? Pin
goodpilot21-May-04 10:15
goodpilot21-May-04 10:15 
AnswerRe: How Can I Unload an Assembly? Pin
Heath Stewart21-May-04 10:49
protectorHeath Stewart21-May-04 10:49 
AnswerRe: How Can I Unload an Assembly? Pin
Marc Clifton22-May-04 14:58
mvaMarc Clifton22-May-04 14:58 
GeneralRe: How Can I Unload an Assembly? Pin
goodpilot26-May-04 3:17
goodpilot26-May-04 3:17 
GeneralOverloading Pin
Gary Kirkham21-May-04 9:39
Gary Kirkham21-May-04 9:39 
GeneralRe: Overloading Pin
Heath Stewart21-May-04 9:56
protectorHeath Stewart21-May-04 9:56 
GeneralRe: Overloading Pin
Gary Kirkham21-May-04 10:07
Gary Kirkham21-May-04 10:07 
GeneralRe: Overloading Pin
Heath Stewart21-May-04 10:12
protectorHeath Stewart21-May-04 10:12 
GeneralRe: Overloading Pin
Dave Kreskowiak21-May-04 9:56
mveDave Kreskowiak21-May-04 9:56 
GeneralRe: Overloading Pin
Curi0us_George21-May-04 19:55
Curi0us_George21-May-04 19:55 
GeneralRe: Overloading Pin
Gary Kirkham24-May-04 5:09
Gary Kirkham24-May-04 5:09 
GeneralRe: Overloading Pin
Curi0us_George24-May-04 9:16
Curi0us_George24-May-04 9:16 

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.