Click here to Skip to main content
15,867,756 members
Home / Discussions / C#
   

C#

 
Questionextending an Enum in code outside the Enum : C# language feature Pin
BillWoodruff12-Dec-14 22:19
professionalBillWoodruff12-Dec-14 22:19 
AnswerRe: extending an Enum in code outside the Enum : C# language feature Pin
OriginalGriff12-Dec-14 23:08
mveOriginalGriff12-Dec-14 23:08 
GeneralRe: extending an Enum in code outside the Enum : C# language feature Pin
BillWoodruff12-Dec-14 23:53
professionalBillWoodruff12-Dec-14 23:53 
GeneralRe: extending an Enum in code outside the Enum : C# language feature Pin
OriginalGriff13-Dec-14 0:36
mveOriginalGriff13-Dec-14 0:36 
GeneralRe: extending an Enum in code outside the Enum : C# language feature Pin
BillWoodruff13-Dec-14 0:59
professionalBillWoodruff13-Dec-14 0:59 
Questionthread Safe Pin
Member 1082714012-Dec-14 20:56
Member 1082714012-Dec-14 20:56 
AnswerRe: thread Safe Pin
Richard MacCutchan12-Dec-14 22:08
mveRichard MacCutchan12-Dec-14 22:08 
QuestionWindows form controls reposition when DPI changes Pin
robwm112-Dec-14 11:42
robwm112-Dec-14 11:42 
Hi,

I have a windows form that has one image with a few labels and textboxes. I designed the UI with DPI in the default setting and everything looks exactly the way I want it. When I change the DPI to 125%, the controls start overlapping each other and it looks terrible/unusable. I have tried setting the form's AutoScaleMode from None, Font, DPI, and inherit. It looks like the controls reposition and do not resize. Even though each option is a little different, changing only this one property is definitely not the solution. I checked the other controls and they do not have an AutoScaleMode property. I am using Visual Studio 2012 Pro to develop this app.

I have seen many conversations about this issue but I have yet to find a solid solution. Is there some standard way to handle this anomaly?

Thanks,

Rob
AnswerRe: Windows form controls reposition when DPI changes Pin
Eddy Vluggen12-Dec-14 14:06
professionalEddy Vluggen12-Dec-14 14:06 
GeneralRe: Windows form controls reposition when DPI changes Pin
robwm115-Dec-14 7:56
robwm115-Dec-14 7:56 
GeneralRe: Windows form controls reposition when DPI changes Pin
Eddy Vluggen16-Dec-14 0:28
professionalEddy Vluggen16-Dec-14 0:28 
GeneralRe: Windows form controls reposition when DPI changes Pin
robwm116-Dec-14 5:42
robwm116-Dec-14 5:42 
GeneralRe: Windows form controls reposition when DPI changes Pin
Eddy Vluggen16-Dec-14 5:58
professionalEddy Vluggen16-Dec-14 5:58 
GeneralRe: Windows form controls reposition when DPI changes Pin
robwm116-Dec-14 6:59
robwm116-Dec-14 6:59 
GeneralRe: Windows form controls reposition when DPI changes Pin
Eddy Vluggen16-Dec-14 7:33
professionalEddy Vluggen16-Dec-14 7:33 
GeneralRe: Windows form controls reposition when DPI changes Pin
robwm116-Dec-14 7:39
robwm116-Dec-14 7:39 
GeneralRe: Windows form controls reposition when DPI changes Pin
robwm116-Dec-14 11:46
robwm116-Dec-14 11:46 
GeneralRe: Windows form controls reposition when DPI changes Pin
Eddy Vluggen17-Dec-14 0:27
professionalEddy Vluggen17-Dec-14 0:27 
QuestionBitmap Dispose Pin
V.12-Dec-14 2:26
professionalV.12-Dec-14 2:26 
AnswerRe: Bitmap Dispose Pin
Marc Clifton12-Dec-14 3:11
mvaMarc Clifton12-Dec-14 3:11 
AnswerRe: Bitmap Dispose Pin
OriginalGriff12-Dec-14 3:55
mveOriginalGriff12-Dec-14 3:55 
AnswerRe: Bitmap Dispose Pin
Richard Andrew x6412-Dec-14 7:20
professionalRichard Andrew x6412-Dec-14 7:20 
GeneralRe: Bitmap Dispose Pin
OriginalGriff12-Dec-14 8:14
mveOriginalGriff12-Dec-14 8:14 
GeneralRe: Bitmap Dispose Pin
Richard Andrew x6412-Dec-14 8:16
professionalRichard Andrew x6412-Dec-14 8:16 
QuestionRe: Bitmap Dispose Pin
Richard Andrew x6412-Dec-14 8:31
professionalRichard Andrew x6412-Dec-14 8:31 

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.