Click here to Skip to main content
15,895,192 members
Home / Discussions / C#
   

C#

 
AnswerRe: Better way to handle 50 labels Pin
BillWoodruff22-Sep-20 7:59
professionalBillWoodruff22-Sep-20 7:59 
AnswerRe: Better way to handle 50 labels Pin
Mycroft Holmes22-Sep-20 12:20
professionalMycroft Holmes22-Sep-20 12:20 
GeneralRe: Better way to handle 50 labels Pin
Member 149437371-Oct-20 18:52
Member 149437371-Oct-20 18:52 
AnswerRe: Better way to handle 50 labels Pin
Member 1494373728-Sep-20 13:41
Member 1494373728-Sep-20 13:41 
QuestionComplex View Model with Nested class Properties / Array Submit Pin
Guillermo Perez18-Sep-20 15:50
Guillermo Perez18-Sep-20 15:50 
GeneralRe: Complex View Model with Nested class Properties / Array Submit Pin
Richard MacCutchan18-Sep-20 21:47
mveRichard MacCutchan18-Sep-20 21:47 
AnswerRe: Complex View Model with Nested class Properties / Array Submit Pin
Gerry Schmitz19-Sep-20 2:43
mveGerry Schmitz19-Sep-20 2:43 
QuestionInsert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 8:40
cms965118-Sep-20 8:40 
AnswerRe: Insert on database contents of word file using OpenXML and c# Pin
Gerry Schmitz18-Sep-20 9:36
mveGerry Schmitz18-Sep-20 9:36 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 9:52
cms965118-Sep-20 9:52 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Gerry Schmitz18-Sep-20 11:18
mveGerry Schmitz18-Sep-20 11:18 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 20:13
cms965118-Sep-20 20:13 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Dave Kreskowiak18-Sep-20 18:45
mveDave Kreskowiak18-Sep-20 18:45 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 20:11
cms965118-Sep-20 20:11 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Pete O'Hanlon18-Sep-20 23:10
mvePete O'Hanlon18-Sep-20 23:10 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Gerry Schmitz19-Sep-20 2:17
mveGerry Schmitz19-Sep-20 2:17 
QuestionThe forms are cut for me using high resolution on WinForm Pin
goldsoft18-Sep-20 1:51
goldsoft18-Sep-20 1:51 
AnswerRe: The forms are cut for me using high resolution on WinForm Pin
Gerry Schmitz18-Sep-20 7:39
mveGerry Schmitz18-Sep-20 7:39 
GeneralRe: The forms are cut for me using high resolution on WinForm Pin
goldsoft18-Sep-20 9:57
goldsoft18-Sep-20 9:57 
GeneralRe: The forms are cut for me using high resolution on WinForm Pin
Gerry Schmitz18-Sep-20 11:21
mveGerry Schmitz18-Sep-20 11:21 
RantRe: The forms are cut for me using high resolution on WinForm Pin
DerekT-P18-Sep-20 10:48
professionalDerekT-P18-Sep-20 10:48 
AnswerRe: The forms are cut for me using high resolution on WinForm Pin
BillWoodruff19-Sep-20 9:11
professionalBillWoodruff19-Sep-20 9:11 
GeneralRe: The forms are cut for me using high resolution on WinForm Pin
goldsoft19-Sep-20 9:54
goldsoft19-Sep-20 9:54 
AnswerRe: The forms are cut for me using high resolution on WinForm Pin
BillWoodruff19-Sep-20 14:20
professionalBillWoodruff19-Sep-20 14:20 
I think you can focus this discussion more by adding to your original post specific details: for example, you create a new WinForm project, size the main form to 800x600, set the StartPosition to 'CenterScreen.

Drop Labels in each corner of the Form: then, run the project, and describe what you observe.

You might also put this code in the main form Load event:
C#
Rectangle r1 = Screen.PrimaryScreen.Bounds;
Rectangle r2 = this.Bounds;
Rectangle r3 = this.ClientRectangle;
Rectangle r4 = this.DisplayRectangle;

Console.WriteLine($"screen {r1}\nform bounds {r2}\nform displayrect {r3}\nform clientrect {r2}");
And, try varying the AutoScaleMode ... the goal being to identify the visually unexpected more clearly.

Hope it helps !
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

QuestionWhat "is" c#`s Double.NaN? Pin
GerVenson16-Sep-20 10:53
professionalGerVenson16-Sep-20 10:53 

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.