Skip to content

Commit 477be1d

Browse files
committed
DPI
1 parent 700713c commit 477be1d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

TEAM/Form_Manage_Configuration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public partial class FormManageConfiguration : FormBase
1515

1616
public FormManageConfiguration(FormMain parent) : base(parent)
1717
{
18+
AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); // for design in 96 DPI
1819
AutoScaleMode = AutoScaleMode.Dpi;
1920
parentFormMain = parent;
2021
InitializeComponent();
@@ -86,6 +87,7 @@ private void AddConnectionTabPages()
8687
localCustomSnowflakeTabPage.OnDeleteConnection += DeleteConnection;
8788
localCustomSnowflakeTabPage.OnChangeMainText += UpdateMainInformationTextBox;
8889
localCustomSnowflakeTabPage.OnSaveConnection += SaveConnection;
90+
//localCustomSnowflakeTabPage.Autscal
8991
tabControlConnections.TabPages.Insert(lastIndex, localCustomSnowflakeTabPage);
9092
}
9193
else

TEAM/TabPageSnowflakeConnection.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace TEAM
1919
/// </summary>
2020
internal class TabPageSnowflakeConnection : TabPage
2121
{
22+
2223
// Startup flag, disabled in constructor. Used to prevent some events from firing twice (creation and value setting).
2324
internal bool StartUpIndicator = true;
2425

@@ -63,6 +64,7 @@ public TabPageSnowflakeConnection(object input)
6364
ToolTip toolTipConnections = new ToolTip();
6465
toolTipConnections.AutoPopDelay = 3000;
6566

67+
6668
// Base properties of the custom tab page
6769
Name = $"{_localConnection.ConnectionKey}";
6870
Text = _localConnection.ConnectionName;
@@ -73,7 +75,7 @@ public TabPageSnowflakeConnection(object input)
7375
AutoSizeMode = AutoSizeMode.GrowOnly;
7476
AutoSize = true;
7577
AutoScroll = true;
76-
78+
7779
// Add Panel to facilitate docking
7880
var localPanel = new Panel();
7981
Controls.Add(localPanel);

0 commit comments

Comments
 (0)