Commit 46dac587 HZH

移除滚动条

1 个父辈 8de53928
...@@ -48,14 +48,12 @@ namespace HZH_Controls.Controls ...@@ -48,14 +48,12 @@ namespace HZH_Controls.Controls
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
this.panHead = new System.Windows.Forms.Panel(); this.panHead = new System.Windows.Forms.Panel();
this.panColumns = new System.Windows.Forms.TableLayoutPanel(); this.panColumns = new System.Windows.Forms.TableLayoutPanel();
this.panHeadLeft = new System.Windows.Forms.Panel(); this.panHeadLeft = new System.Windows.Forms.Panel();
this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H(); this.ucSplitLine_H1 = new HZH_Controls.Controls.UCSplitLine_H();
this.panRow = new System.Windows.Forms.Panel(); this.panRow = new System.Windows.Forms.Panel();
this.panPage = new System.Windows.Forms.Panel(); this.panPage = new System.Windows.Forms.Panel();
this.scrollbarComponent1 = new HZH_Controls.Controls.ScrollBar.ScrollbarComponent(this.components);
this.panHead.SuspendLayout(); this.panHead.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
...@@ -109,7 +107,6 @@ namespace HZH_Controls.Controls ...@@ -109,7 +107,6 @@ namespace HZH_Controls.Controls
this.panRow.Name = "panRow"; this.panRow.Name = "panRow";
this.panRow.Size = new System.Drawing.Size(1061, 481); this.panRow.Size = new System.Drawing.Size(1061, 481);
this.panRow.TabIndex = 1; this.panRow.TabIndex = 1;
this.scrollbarComponent1.SetUserCustomScrollbar(this.panRow, true);
this.panRow.SizeChanged += new System.EventHandler(this.panRow_SizeChanged); this.panRow.SizeChanged += new System.EventHandler(this.panRow_SizeChanged);
// //
// panPage // panPage
...@@ -131,7 +128,6 @@ namespace HZH_Controls.Controls ...@@ -131,7 +128,6 @@ namespace HZH_Controls.Controls
this.Controls.Add(this.panHead); this.Controls.Add(this.panHead);
this.Name = "UCDataGridView"; this.Name = "UCDataGridView";
this.Size = new System.Drawing.Size(1061, 565); this.Size = new System.Drawing.Size(1061, 565);
this.scrollbarComponent1.SetUserCustomScrollbar(this, true);
this.Resize += new System.EventHandler(this.UCDataGridView_Resize); this.Resize += new System.EventHandler(this.UCDataGridView_Resize);
this.panHead.ResumeLayout(false); this.panHead.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
...@@ -164,7 +160,6 @@ namespace HZH_Controls.Controls ...@@ -164,7 +160,6 @@ namespace HZH_Controls.Controls
/// The pan head left /// The pan head left
/// </summary> /// </summary>
private System.Windows.Forms.Panel panHeadLeft; private System.Windows.Forms.Panel panHeadLeft;
private ScrollBar.ScrollbarComponent scrollbarComponent1;
} }
} }
...@@ -117,7 +117,4 @@ ...@@ -117,7 +117,4 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="scrollbarComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>
\ No newline at end of file \ No newline at end of file
...@@ -28,12 +28,10 @@ ...@@ -28,12 +28,10 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.tvMenu = new HZH_Controls.Controls.TreeViewEx(); this.tvMenu = new HZH_Controls.Controls.TreeViewEx();
this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V(); this.ucSplitLine_V1 = new HZH_Controls.Controls.UCSplitLine_V();
this.panControl = new System.Windows.Forms.Panel(); this.panControl = new System.Windows.Forms.Panel();
this.scrollbarComponent1 = new HZH_Controls.Controls.ScrollBar.ScrollbarComponent(this.components);
this.SuspendLayout(); this.SuspendLayout();
// //
// tvMenu // tvMenu
...@@ -68,7 +66,6 @@ ...@@ -68,7 +66,6 @@
this.tvMenu.TabIndex = 7; this.tvMenu.TabIndex = 7;
this.tvMenu.TipFont = new System.Drawing.Font("Arial Unicode MS", 12F); this.tvMenu.TipFont = new System.Drawing.Font("Arial Unicode MS", 12F);
this.tvMenu.TipImage = ((System.Drawing.Image)(resources.GetObject("tvMenu.TipImage"))); this.tvMenu.TipImage = ((System.Drawing.Image)(resources.GetObject("tvMenu.TipImage")));
this.scrollbarComponent1.SetUserCustomScrollbar(this.tvMenu, true);
this.tvMenu.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvMenu_AfterSelect); this.tvMenu.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvMenu_AfterSelect);
// //
// ucSplitLine_V1 // ucSplitLine_V1
...@@ -89,7 +86,6 @@ ...@@ -89,7 +86,6 @@
this.panControl.Name = "panControl"; this.panControl.Name = "panControl";
this.panControl.Size = new System.Drawing.Size(815, 707); this.panControl.Size = new System.Drawing.Size(815, 707);
this.panControl.TabIndex = 9; this.panControl.TabIndex = 9;
this.scrollbarComponent1.SetUserCustomScrollbar(this.panControl, false);
// //
// FrmMain // FrmMain
// //
...@@ -120,6 +116,5 @@ ...@@ -120,6 +116,5 @@
private HZH_Controls.Controls.TreeViewEx tvMenu; private HZH_Controls.Controls.TreeViewEx tvMenu;
private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V1; private HZH_Controls.Controls.UCSplitLine_V ucSplitLine_V1;
private System.Windows.Forms.Panel panControl; private System.Windows.Forms.Panel panControl;
private HZH_Controls.Controls.ScrollBar.ScrollbarComponent scrollbarComponent1;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -162,9 +162,6 @@ ...@@ -162,9 +162,6 @@
KfUq3QAAAABJRU5ErkJggg== KfUq3QAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="scrollbarComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAAEAeIAAAAEAIAAo+AAAFgAAACgAAAB4AAAAAAEAAAEAIAAAAAAAAPAAAGDqAABg6gAAAAAAAAAA AAABAAEAeIAAAAEAIAAo+AAAFgAAACgAAAB4AAAAAAEAAAEAIAAAAAAAAPAAAGDqAABg6gAAAAAAAAAA
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!