File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ public partial class FormManageConfiguration : FormBase
15
15
16
16
public FormManageConfiguration ( FormMain parent ) : base ( parent )
17
17
{
18
+ AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 13F ) ; // for design in 96 DPI
18
19
AutoScaleMode = AutoScaleMode . Dpi ;
19
20
parentFormMain = parent ;
20
21
InitializeComponent ( ) ;
@@ -86,6 +87,7 @@ private void AddConnectionTabPages()
86
87
localCustomSnowflakeTabPage . OnDeleteConnection += DeleteConnection ;
87
88
localCustomSnowflakeTabPage . OnChangeMainText += UpdateMainInformationTextBox ;
88
89
localCustomSnowflakeTabPage . OnSaveConnection += SaveConnection ;
90
+ //localCustomSnowflakeTabPage.Autscal
89
91
tabControlConnections . TabPages . Insert ( lastIndex , localCustomSnowflakeTabPage ) ;
90
92
}
91
93
else
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ namespace TEAM
19
19
/// </summary>
20
20
internal class TabPageSnowflakeConnection : TabPage
21
21
{
22
+
22
23
// Startup flag, disabled in constructor. Used to prevent some events from firing twice (creation and value setting).
23
24
internal bool StartUpIndicator = true ;
24
25
@@ -63,6 +64,7 @@ public TabPageSnowflakeConnection(object input)
63
64
ToolTip toolTipConnections = new ToolTip ( ) ;
64
65
toolTipConnections . AutoPopDelay = 3000 ;
65
66
67
+
66
68
// Base properties of the custom tab page
67
69
Name = $ "{ _localConnection . ConnectionKey } ";
68
70
Text = _localConnection . ConnectionName ;
@@ -73,7 +75,7 @@ public TabPageSnowflakeConnection(object input)
73
75
AutoSizeMode = AutoSizeMode . GrowOnly ;
74
76
AutoSize = true ;
75
77
AutoScroll = true ;
76
-
78
+
77
79
// Add Panel to facilitate docking
78
80
var localPanel = new Panel ( ) ;
79
81
Controls . Add ( localPanel ) ;
You can’t perform that action at this time.
0 commit comments