1 year ago
#378283
Terry
Windows Forms in LINQPad Command Line vs LINQPad Proper
I have a script I run via lprun.exe
that appears different than when it is ran via LINQPad proper. When I run via command line, it appears as so:
- Note the overlap of checkboxes in the 'Production Publish Settings' and the checkbox with the Cancel button.
When I run it from LINQPad proper, it shows up as so:
- Note that there is no overlap and the font looks crisper and spacing is 'better'.
Is there some setting on lprun command to make it look the same as when ran in LINQPad proper?
Update
Due to my lack of knowledge on scaling/Windows Forms, could these lines (which I just grabbed from the Form Designer originally from Visual Studio before moving code into my script) be causing issue?
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(750, 450);
this.MinimumSize = new System.Drawing.Size(765, 480);
c#
winforms
linqpad
0 Answers
Your Answer