├── .gitignore ├── .vs ├── VSWorkspaceState.json └── slnx.sqlite ├── README.md └── Winform-Demo ├── .vs └── Winform-Demo │ └── v15 │ └── Server │ └── sqlite3 │ ├── storage.ide │ ├── storage.ide-shm │ └── storage.ide-wal ├── DockingExample ├── App.config ├── DockingExample.csproj ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── Form2.Designer.cs ├── Form2.cs ├── Form3.Designer.cs ├── Form3.cs ├── Form4.Designer.cs ├── Form4.cs ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings └── packages.config └── WinformDock ├── App.config ├── Base ├── MenuManager.Designer.cs ├── MenuManager.cs ├── MenuManager.resx ├── UserManager.Designer.cs ├── UserManager.cs └── UserManager.resx ├── DockHelper.cs ├── Inbound ├── PrintLabel.Designer.cs ├── PrintLabel.cs └── PrintLabel.resx ├── MainFrm.Designer.cs ├── MainFrm.cs ├── MainFrm.resx ├── NavFrm.Designer.cs ├── NavFrm.cs ├── NavFrm.resx ├── Outbound ├── DeliveryList.Designer.cs ├── DeliveryList.cs └── DeliveryList.resx ├── Program.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings ├── Report ├── DaReport.Designer.cs ├── DaReport.cs └── DaReport.resx ├── Resources └── Welcome.jpg ├── Skins ├── Calmness.ssk ├── CalmnessColor1.ssk ├── CalmnessColor2.ssk ├── DeepCyan.ssk ├── DeepGreen.ssk ├── DeepOrange.ssk ├── DiamondBlue.ssk ├── DiamondGreen.ssk ├── DiamondOlive.ssk ├── DiamondPurple.ssk ├── DiamondRed.ssk ├── Eighteen.ssk ├── EighteenColor1.ssk ├── EighteenColor2.ssk ├── Emerald.ssk ├── EmeraldColor1.ssk ├── EmeraldColor2.ssk ├── EmeraldColor3.ssk ├── GlassBrown.ssk ├── GlassGreen.ssk ├── GlassOrange.ssk ├── Longhorn.ssk ├── MSN.ssk ├── MacOS.ssk ├── Midsummer.ssk ├── MidsummerColor1.ssk ├── MidsummerColor2.ssk ├── MidsummerColor3.ssk ├── OneBlue.ssk ├── OneCyan.ssk ├── OneGreen.ssk ├── OneOrange.ssk ├── Page.ssk ├── PageColor1.ssk ├── PageColor2.ssk ├── RealOne.ssk ├── Silver.ssk ├── SilverColor1.ssk ├── SilverColor2.ssk ├── SportsBlack.ssk ├── SportsBlue.ssk ├── SportsCyan.ssk ├── SportsGreen.ssk ├── SportsOrange.ssk ├── SteelBlack.ssk ├── SteelBlue.ssk ├── Vista2_color1.ssk ├── Vista2_color2.ssk ├── Vista2_color3.ssk ├── Vista2_color4.ssk ├── Vista2_color5.ssk ├── Vista2_color6.ssk ├── Vista2_color7.ssk ├── Warm.ssk ├── WarmColor1.ssk ├── WarmColor2.ssk ├── WarmColor3.ssk ├── Wave.ssk ├── WaveColor1.ssk ├── WaveColor2.ssk ├── XPBlue.ssk ├── XPGreen.ssk ├── XPOrange.ssk ├── XPSilver.ssk ├── mp10.ssk ├── mp10green.ssk ├── mp10maroon.ssk ├── mp10mulberry.ssk ├── mp10pink.ssk ├── mp10purple.ssk ├── office2007.ssk ├── vista1.ssk └── vista1_green.ssk ├── Util └── MenuData.cs ├── Welcome.Designer.cs ├── Welcome.cs ├── Welcome.resx ├── WinformDock.csproj ├── menu.png └── packages.config /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | #ignore thumbnails created by windows 3 | Thumbs.db 4 | #Ignore files build by Visual Studio 5 | *.obj 6 | #*.exe 7 | *.pdb 8 | *.user 9 | *.aps 10 | *.pch 11 | *.vspscc 12 | *_i.c 13 | *_p.c 14 | *.ncb 15 | *.suo 16 | *.tlb 17 | *.tlh 18 | *.bak 19 | *.cache 20 | *.ilk 21 | *.log 22 | *.orig 23 | [Bb]in 24 | [Dd]ebug*/ 25 | *.lib 26 | *.sbr 27 | *.gpState 28 | *.idc 29 | obj/ 30 | logs 31 | NLogExample/.vs/* 32 | 33 | [Rr]elease*/ 34 | _ReSharper*/ 35 | [Tt]est[Rr]esult* 36 | ## TODO: If you have NuGet Package Restore enabled, uncomment this 37 | packages/ 38 | 39 | # Visual C++ cache files 40 | ipch/ 41 | *.aps 42 | *.ncb 43 | *.opensdf 44 | *.sdf 45 | 46 | # Visual Studio profiler 47 | *.psess 48 | *.vsp 49 | *MVCDemo/.vs/ 50 | 51 | # ReSharper is a .NET coding add-in 52 | _ReSharper* 53 | 54 | # Installshield output folder 55 | [Ee]xpress 56 | 57 | # DocProject is a documentation generator add-in 58 | DocProject/buildhelp/ 59 | DocProject/Help/*.HxT 60 | DocProject/Help/*.HxC 61 | DocProject/Help/*.hhc 62 | DocProject/Help/*.hhk 63 | DocProject/Help/*.hhp 64 | DocProject/Help/Html2 65 | DocProject/Help/html 66 | 67 | .idea 68 | .vscode 69 | *.suo 70 | *.ntvs* 71 | *.njsproj 72 | *.sln 73 | 74 | # Click-Once directory 75 | publish 76 | 77 | # Others 78 | [Bb]in 79 | [Oo]bj 80 | sql 81 | TestResults 82 | *.Cache 83 | ClientBin 84 | stylecop.* 85 | ~$* 86 | *.dbmdl 87 | Generated_Code #added for RIA/Silverlight projects 88 | 89 | # Backup & report files from converting an old project file to a newer 90 | # Visual Studio version. Backup files are not needed, because we have git ;-) 91 | _UpgradeReport_Files/ 92 | Backup*/ 93 | UpgradeLog*.XML 94 | 95 | 96 | 97 | ############ 98 | ## Windows 99 | ############ 100 | 101 | # Windows image file caches 102 | Thumbs.db 103 | 104 | # Folder config file 105 | Desktop.ini 106 | 107 | 108 | ############# 109 | ## Python 110 | ############# 111 | 112 | *.py[co] 113 | 114 | # Packages 115 | *.egg 116 | *.egg-info 117 | dist 118 | build 119 | eggs 120 | parts 121 | bin 122 | var 123 | sdist 124 | develop-eggs 125 | .installed.cfg 126 | 127 | # Installer logs 128 | pip-log.txt 129 | 130 | # Unit test / coverage reports 131 | .coverage 132 | .tox 133 | 134 | #Translations 135 | *.mo 136 | 137 | #Mr Developer 138 | .mr.developer.cfg 139 | 140 | # Mac crap 141 | .DS_Store 142 | CK1.WMS.DB/CK1.WMS.DB.jfm 143 | .vs/config/applicationhost.config 144 | CK1.WMS.WebService/Web.config 145 | 146 | .DS_Store 147 | CK1.WMS.WebApp.Web/View/node_modules/ 148 | dist/ 149 | CK1.WMS.WebApp.Web/View/npm-debug.log* 150 | CK1.WMS.WebApp.Web/View/yarn-debug.log* 151 | CK1.WMS.WebApp.Web/View/yarn-error.log* 152 | CK1.WMS.WebApp.Web/View/package-lock.json 153 | 154 | # Editor directories and files 155 | .idea 156 | .vscode 157 | *.suo 158 | *.ntvs* 159 | *.njsproj 160 | *.sln 161 | *.lock 162 | 163 | -------------------------------------------------------------------------------- /.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "" 4 | ], 5 | "PreviewInSolutionExplorer": false 6 | } -------------------------------------------------------------------------------- /.vs/slnx.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/.vs/slnx.sqlite -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Winform-Demo 2 | Winform-Demo 3 | Winform 布局的案例 4 | Winform Layout 5 | Winform 布局 6 | ![image](https://github.com/gdoujkzz/Resource/blob/master/image/winform-dock-finally.gif) 7 | -------------------------------------------------------------------------------- /Winform-Demo/.vs/Winform-Demo/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/.vs/Winform-Demo/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /Winform-Demo/.vs/Winform-Demo/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/.vs/Winform-Demo/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /Winform-Demo/.vs/Winform-Demo/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/.vs/Winform-Demo/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/DockingExample.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {3778E7E5-3430-4E99-B617-12196A34619B} 8 | WinExe 9 | DockingExample 10 | DockingExample 11 | v4.6.2 12 | 512 13 | true 14 | true 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | ..\packages\WeifenLuo.WinFormsUI.Docking.2.1.0\lib\net20\WeifenLuo.WinFormsUI.Docking.dll 49 | 50 | 51 | 52 | 53 | Form 54 | 55 | 56 | Form1.cs 57 | 58 | 59 | Form 60 | 61 | 62 | Form2.cs 63 | 64 | 65 | Form 66 | 67 | 68 | Form3.cs 69 | 70 | 71 | Form 72 | 73 | 74 | Form4.cs 75 | 76 | 77 | 78 | 79 | Form1.cs 80 | 81 | 82 | ResXFileCodeGenerator 83 | Resources.Designer.cs 84 | Designer 85 | 86 | 87 | True 88 | Resources.resx 89 | 90 | 91 | 92 | SettingsSingleFileGenerator 93 | Settings.Designer.cs 94 | 95 | 96 | True 97 | Settings.settings 98 | True 99 | 100 | 101 | 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace DockingExample 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// 必需的设计器变量。 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// 清理所有正在使用的资源。 12 | /// 13 | /// 如果应释放托管资源,为 true;否则为 false。 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows 窗体设计器生成的代码 24 | 25 | /// 26 | /// 设计器支持所需的方法 - 不要修改 27 | /// 使用代码编辑器修改此方法的内容。 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.IsMdiContainer = true; 32 | this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); 33 | this.menuStrip1 = new System.Windows.Forms.MenuStrip(); 34 | this.systemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 35 | this.menuStrip1.SuspendLayout(); 36 | this.SuspendLayout(); 37 | // 38 | // dockPanel 39 | // 40 | this.dockPanel.ActiveAutoHideContent = null; 41 | this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; 42 | this.dockPanel.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); 43 | this.dockPanel.Location = new System.Drawing.Point(0, 25); 44 | this.dockPanel.Name = "dockPanel"; 45 | this.dockPanel.Size = new System.Drawing.Size(658, 378); 46 | this.dockPanel.TabIndex = 0; 47 | // 48 | // menuStrip1 49 | // 50 | this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 51 | this.systemToolStripMenuItem}); 52 | this.menuStrip1.Location = new System.Drawing.Point(0, 0); 53 | this.menuStrip1.Name = "menuStrip1"; 54 | this.menuStrip1.Size = new System.Drawing.Size(658, 25); 55 | this.menuStrip1.TabIndex = 2; 56 | this.menuStrip1.Text = "menuStrip1"; 57 | // 58 | // systemToolStripMenuItem 59 | // 60 | this.systemToolStripMenuItem.Name = "systemToolStripMenuItem"; 61 | this.systemToolStripMenuItem.Size = new System.Drawing.Size(61, 21); 62 | this.systemToolStripMenuItem.Text = "System"; 63 | // 64 | // Form1 65 | // 66 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 67 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 68 | this.ClientSize = new System.Drawing.Size(658, 403); 69 | this.Controls.Add(this.dockPanel); 70 | this.Controls.Add(this.menuStrip1); 71 | this.MainMenuStrip = this.menuStrip1; 72 | this.Name = "Form1"; 73 | this.Text = "Form1"; 74 | this.menuStrip1.ResumeLayout(false); 75 | this.menuStrip1.PerformLayout(); 76 | this.ResumeLayout(false); 77 | this.PerformLayout(); 78 | 79 | } 80 | 81 | #endregion 82 | 83 | private WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel; 84 | private System.Windows.Forms.MenuStrip menuStrip1; 85 | private System.Windows.Forms.ToolStripMenuItem systemToolStripMenuItem; 86 | } 87 | } 88 | 89 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace DockingExample 13 | { 14 | public partial class Form1 : Form 15 | { 16 | public Form1() 17 | { 18 | InitializeComponent(); 19 | Form2 f2 = new Form2(); 20 | f2.Show(dockPanel, DockState.DockLeft); 21 | Form3 f3 = new Form3(); 22 | f3.Show(dockPanel, DockState.DockRight); 23 | Form4 f4 = new Form4(); 24 | f4.Show(dockPanel, DockState.Document); 25 | } 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 17, 17 122 | 123 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form2.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace DockingExample 2 | { 3 | partial class Form2 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form2"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace DockingExample 13 | { 14 | public partial class Form2 : DockContent 15 | { 16 | public Form2() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form3.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace DockingExample 2 | { 3 | partial class Form3 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form3"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form3.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace DockingExample 13 | { 14 | public partial class Form3 : DockContent 15 | { 16 | public Form3() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form4.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace DockingExample 2 | { 3 | partial class Form4 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form4"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Form4.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace DockingExample 13 | { 14 | public partial class Form4 : DockContent 15 | { 16 | public Form4() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace DockingExample 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// 应用程序的主入口点。 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Form1()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("DockingExample")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DockingExample")] 13 | [assembly: AssemblyCopyright("Copyright © 2019")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 会使此程序集中的类型 18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("3778e7e5-3430-4e99-b617-12196a34619b")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本: 4.0.30319.42000 5 | // 6 | // 对此文件的更改可能导致不正确的行为,如果 7 | // 重新生成代码,则所做更改将丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DockingExample.Properties 12 | { 13 | 14 | 15 | /// 16 | /// 强类型资源类,用于查找本地化字符串等。 17 | /// 18 | // 此类是由 StronglyTypedResourceBuilder 19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 20 | // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen 21 | // (以 /str 作为命令选项),或重新生成 VS 项目。 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources 26 | { 27 | 28 | private static global::System.Resources.ResourceManager resourceMan; 29 | 30 | private static global::System.Globalization.CultureInfo resourceCulture; 31 | 32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 33 | internal Resources() 34 | { 35 | } 36 | 37 | /// 38 | /// 返回此类使用的缓存 ResourceManager 实例。 39 | /// 40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 41 | internal static global::System.Resources.ResourceManager ResourceManager 42 | { 43 | get 44 | { 45 | if ((resourceMan == null)) 46 | { 47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DockingExample.Properties.Resources", typeof(Resources).Assembly); 48 | resourceMan = temp; 49 | } 50 | return resourceMan; 51 | } 52 | } 53 | 54 | /// 55 | /// 覆盖当前线程的 CurrentUICulture 属性 56 | /// 使用此强类型的资源类的资源查找。 57 | /// 58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 59 | internal static global::System.Globalization.CultureInfo Culture 60 | { 61 | get 62 | { 63 | return resourceCulture; 64 | } 65 | set 66 | { 67 | resourceCulture = value; 68 | } 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DockingExample.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Winform-Demo/DockingExample/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Base/MenuManager.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock.Base 2 | { 3 | partial class MenuManager 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.label1 = new System.Windows.Forms.Label(); 32 | this.SuspendLayout(); 33 | // 34 | // label1 35 | // 36 | this.label1.AutoSize = true; 37 | this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 38 | this.label1.Location = new System.Drawing.Point(12, 9); 39 | this.label1.Name = "label1"; 40 | this.label1.Size = new System.Drawing.Size(208, 21); 41 | this.label1.TabIndex = 0; 42 | this.label1.Text = "this is MenuManger"; 43 | // 44 | // MenuManager 45 | // 46 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 47 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 48 | this.ClientSize = new System.Drawing.Size(800, 450); 49 | this.Controls.Add(this.label1); 50 | this.Name = "MenuManager"; 51 | this.TabText = "MenuManager"; 52 | this.Text = "MenuManager"; 53 | this.ResumeLayout(false); 54 | this.PerformLayout(); 55 | 56 | } 57 | 58 | #endregion 59 | 60 | private System.Windows.Forms.Label label1; 61 | } 62 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Base/MenuManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace WinformDock.Base 13 | { 14 | public partial class MenuManager : DockContent 15 | { 16 | public MenuManager() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Base/MenuManager.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Base/UserManager.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock.Base 2 | { 3 | partial class UserManager 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.label1 = new System.Windows.Forms.Label(); 32 | this.SuspendLayout(); 33 | // 34 | // label1 35 | // 36 | this.label1.AutoSize = true; 37 | this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 38 | this.label1.Location = new System.Drawing.Point(12, 9); 39 | this.label1.Name = "label1"; 40 | this.label1.Size = new System.Drawing.Size(208, 21); 41 | this.label1.TabIndex = 1; 42 | this.label1.Text = "this is UserManger"; 43 | // 44 | // UserManager 45 | // 46 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 47 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 48 | this.ClientSize = new System.Drawing.Size(800, 450); 49 | this.Controls.Add(this.label1); 50 | this.Name = "UserManager"; 51 | this.TabText = "UserManager"; 52 | this.Text = "UserManager"; 53 | this.ResumeLayout(false); 54 | this.PerformLayout(); 55 | 56 | } 57 | 58 | #endregion 59 | 60 | private System.Windows.Forms.Label label1; 61 | } 62 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Base/UserManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace WinformDock.Base 13 | { 14 | public partial class UserManager: DockContent 15 | { 16 | public UserManager() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Base/UserManager.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/DockHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using WeifenLuo.WinFormsUI.Docking; 7 | 8 | namespace WinformDock 9 | { 10 | internal static class DockHelper 11 | { 12 | public static bool IsDockStateAutoHide(DockState dockState) 13 | { 14 | if (dockState == DockState.DockLeftAutoHide || 15 | dockState == DockState.DockRightAutoHide || 16 | dockState == DockState.DockTopAutoHide || 17 | dockState == DockState.DockBottomAutoHide) 18 | return true; 19 | else 20 | return false; 21 | } 22 | 23 | public static bool IsDockStateDocked(DockState dockState) 24 | { 25 | return (dockState == DockState.DockLeft || 26 | dockState == DockState.DockRight || 27 | dockState == DockState.DockTop || 28 | dockState == DockState.DockBottom); 29 | } 30 | 31 | public static bool IsDockBottom(DockState dockState) 32 | { 33 | return (dockState == DockState.DockBottom || dockState == DockState.DockBottomAutoHide) ? true : false; 34 | } 35 | 36 | public static bool IsDockLeft(DockState dockState) 37 | { 38 | return (dockState == DockState.DockLeft || dockState == DockState.DockLeftAutoHide) ? true : false; 39 | } 40 | 41 | public static bool IsDockRight(DockState dockState) 42 | { 43 | return (dockState == DockState.DockRight || dockState == DockState.DockRightAutoHide) ? true : false; 44 | } 45 | 46 | public static bool IsDockTop(DockState dockState) 47 | { 48 | return (dockState == DockState.DockTop || dockState == DockState.DockTopAutoHide) ? true : false; 49 | } 50 | 51 | public static bool IsDockStateValid(DockState dockState, DockAreas dockableAreas) 52 | { 53 | if (((dockableAreas & DockAreas.Float) == 0) && 54 | (dockState == DockState.Float)) 55 | return false; 56 | else if (((dockableAreas & DockAreas.Document) == 0) && 57 | (dockState == DockState.Document)) 58 | return false; 59 | else if (((dockableAreas & DockAreas.DockLeft) == 0) && 60 | (dockState == DockState.DockLeft || dockState == DockState.DockLeftAutoHide)) 61 | return false; 62 | else if (((dockableAreas & DockAreas.DockRight) == 0) && 63 | (dockState == DockState.DockRight || dockState == DockState.DockRightAutoHide)) 64 | return false; 65 | else if (((dockableAreas & DockAreas.DockTop) == 0) && 66 | (dockState == DockState.DockTop || dockState == DockState.DockTopAutoHide)) 67 | return false; 68 | else if (((dockableAreas & DockAreas.DockBottom) == 0) && 69 | (dockState == DockState.DockBottom || dockState == DockState.DockBottomAutoHide)) 70 | return false; 71 | else 72 | return true; 73 | } 74 | 75 | public static bool IsDockWindowState(DockState state) 76 | { 77 | if (state == DockState.DockTop || state == DockState.DockBottom || state == DockState.DockLeft || 78 | state == DockState.DockRight || state == DockState.Document) 79 | return true; 80 | else 81 | return false; 82 | } 83 | 84 | public static bool IsValidRestoreState(DockState state) 85 | { 86 | if (state == DockState.DockLeft || state == DockState.DockRight || state == DockState.DockTop || 87 | state == DockState.DockBottom || state == DockState.Document) 88 | return true; 89 | else 90 | return false; 91 | } 92 | 93 | public static DockState ToggleAutoHideState(DockState state) 94 | { 95 | if (state == DockState.DockLeft) 96 | return DockState.DockLeftAutoHide; 97 | else if (state == DockState.DockRight) 98 | return DockState.DockRightAutoHide; 99 | else if (state == DockState.DockTop) 100 | return DockState.DockTopAutoHide; 101 | else if (state == DockState.DockBottom) 102 | return DockState.DockBottomAutoHide; 103 | else if (state == DockState.DockLeftAutoHide) 104 | return DockState.DockLeft; 105 | else if (state == DockState.DockRightAutoHide) 106 | return DockState.DockRight; 107 | else if (state == DockState.DockTopAutoHide) 108 | return DockState.DockTop; 109 | else if (state == DockState.DockBottomAutoHide) 110 | return DockState.DockBottom; 111 | else 112 | return state; 113 | } 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Inbound/PrintLabel.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock 2 | { 3 | partial class PrintLabel 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.contextMenuTabPage = new System.Windows.Forms.ContextMenuStrip(this.components); 33 | this.CloseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 34 | this.CloseAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 35 | this.CloseAllButThisOneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 36 | this.label1 = new System.Windows.Forms.Label(); 37 | this.contextMenuTabPage.SuspendLayout(); 38 | this.SuspendLayout(); 39 | // 40 | // contextMenuTabPage 41 | // 42 | this.contextMenuTabPage.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 43 | this.CloseToolStripMenuItem, 44 | this.CloseAllToolStripMenuItem, 45 | this.CloseAllButThisOneToolStripMenuItem}); 46 | this.contextMenuTabPage.Name = "contextMenuTabPage"; 47 | this.contextMenuTabPage.Size = new System.Drawing.Size(202, 70); 48 | // 49 | // CloseToolStripMenuItem 50 | // 51 | this.CloseToolStripMenuItem.Name = "CloseToolStripMenuItem"; 52 | this.CloseToolStripMenuItem.Size = new System.Drawing.Size(201, 22); 53 | this.CloseToolStripMenuItem.Text = "Close"; 54 | // 55 | // CloseAllToolStripMenuItem 56 | // 57 | this.CloseAllToolStripMenuItem.Name = "CloseAllToolStripMenuItem"; 58 | this.CloseAllToolStripMenuItem.Size = new System.Drawing.Size(201, 22); 59 | this.CloseAllToolStripMenuItem.Text = "Close All"; 60 | // 61 | // CloseAllButThisOneToolStripMenuItem 62 | // 63 | this.CloseAllButThisOneToolStripMenuItem.Name = "CloseAllButThisOneToolStripMenuItem"; 64 | this.CloseAllButThisOneToolStripMenuItem.Size = new System.Drawing.Size(201, 22); 65 | this.CloseAllButThisOneToolStripMenuItem.Text = "Close All But this One"; 66 | // 67 | // label1 68 | // 69 | this.label1.AutoSize = true; 70 | this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 71 | this.label1.Location = new System.Drawing.Point(296, 215); 72 | this.label1.Name = "label1"; 73 | this.label1.Size = new System.Drawing.Size(208, 21); 74 | this.label1.TabIndex = 1; 75 | this.label1.Text = "this is PrintLabel"; 76 | // 77 | // PrintLabel 78 | // 79 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 80 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 81 | this.ClientSize = new System.Drawing.Size(800, 450); 82 | this.Controls.Add(this.label1); 83 | this.Name = "PrintLabel"; 84 | this.TabPageContextMenuStrip = this.contextMenuTabPage; 85 | this.TabText = "PrintLabel"; 86 | this.Text = "PrintLabel"; 87 | this.contextMenuTabPage.ResumeLayout(false); 88 | this.ResumeLayout(false); 89 | this.PerformLayout(); 90 | 91 | } 92 | 93 | #endregion 94 | 95 | private System.Windows.Forms.ContextMenuStrip contextMenuTabPage; 96 | private System.Windows.Forms.ToolStripMenuItem CloseToolStripMenuItem; 97 | private System.Windows.Forms.ToolStripMenuItem CloseAllToolStripMenuItem; 98 | private System.Windows.Forms.ToolStripMenuItem CloseAllButThisOneToolStripMenuItem; 99 | private System.Windows.Forms.Label label1; 100 | } 101 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Inbound/PrintLabel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace WinformDock 13 | { 14 | public partial class PrintLabel : DockContent 15 | { 16 | // public WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel; 17 | public PrintLabel() 18 | { 19 | InitializeComponent(); 20 | //this.dockPanel = mainDockPanel; 21 | AutoScaleMode = AutoScaleMode.Dpi; 22 | } 23 | 24 | protected override void OnPaint(PaintEventArgs e) 25 | { 26 | base.OnPaint(e); 27 | } 28 | 29 | protected override void OnTextChanged(EventArgs e) 30 | { 31 | base.OnTextChanged(e); 32 | } 33 | 34 | //private void CloseToolStripMenuItem_Click(object sender, EventArgs e) 35 | //{ 36 | // if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) 37 | // ActiveMdiChild.Close(); 38 | // else if (dockPanel.ActiveDocument != null) 39 | // dockPanel.ActiveDocument.DockHandler.Close(); 40 | //} 41 | 42 | //private void CloseAllToolStripMenuItem_Click(object sender, EventArgs e) 43 | //{ 44 | // if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) 45 | // { 46 | // foreach (Form form in MdiChildren) 47 | // form.Close(); 48 | // } 49 | // else 50 | // { 51 | // foreach (IDockContent document in dockPanel.DocumentsToArray()) 52 | // { 53 | // document.DockHandler.Close(); 54 | // } 55 | // } 56 | //} 57 | 58 | //private void CloseAllButThisOneToolStripMenuItem_Click(object sender, EventArgs e) 59 | //{ 60 | // if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) 61 | // { 62 | // Form activeMdi = ActiveMdiChild; 63 | // foreach (Form form in MdiChildren) 64 | // { 65 | // if (form != activeMdi) 66 | // form.Close(); 67 | // } 68 | // } 69 | // else 70 | // { 71 | // foreach (IDockContent document in dockPanel.DocumentsToArray()) 72 | // { 73 | // if (!document.DockHandler.IsActivated) 74 | // document.DockHandler.Close(); 75 | // } 76 | // } 77 | //} 78 | 79 | 80 | 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Inbound/PrintLabel.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 17, 17 122 | 123 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/MainFrm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock 2 | { 3 | partial class MainFrm 4 | { 5 | /// 6 | /// 必需的设计器变量。 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// 清理所有正在使用的资源。 12 | /// 13 | /// 如果应释放托管资源,为 true;否则为 false。 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows 窗体设计器生成的代码 24 | 25 | /// 26 | /// 设计器支持所需的方法 - 不要修改 27 | /// 使用代码编辑器修改此方法的内容。 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFrm)); 32 | this.mainMenu = new System.Windows.Forms.MenuStrip(); 33 | this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); 34 | this.StatusLabelCopyright = new System.Windows.Forms.ToolStripStatusLabel(); 35 | this.StatusLabelVersion = new System.Windows.Forms.ToolStripStatusLabel(); 36 | this.StatusLabelUserName = new System.Windows.Forms.ToolStripStatusLabel(); 37 | this.dpnSkin = new System.Windows.Forms.ToolStripDropDownButton(); 38 | this.statusStrip1 = new System.Windows.Forms.StatusStrip(); 39 | this.statusStrip1.SuspendLayout(); 40 | this.SuspendLayout(); 41 | // 42 | // mainMenu 43 | // 44 | this.mainMenu.Location = new System.Drawing.Point(0, 0); 45 | this.mainMenu.Name = "mainMenu"; 46 | this.mainMenu.Size = new System.Drawing.Size(800, 24); 47 | this.mainMenu.TabIndex = 8; 48 | this.mainMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.mainMenu_ItemClicked); 49 | // 50 | // dockPanel 51 | // 52 | this.dockPanel.ActiveAutoHideContent = null; 53 | this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; 54 | this.dockPanel.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); 55 | this.dockPanel.Location = new System.Drawing.Point(0, 24); 56 | this.dockPanel.Name = "dockPanel"; 57 | this.dockPanel.Size = new System.Drawing.Size(800, 426); 58 | this.dockPanel.TabIndex = 10; 59 | // 60 | // StatusLabelCopyright 61 | // 62 | this.StatusLabelCopyright.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) 63 | | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) 64 | | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom))); 65 | this.StatusLabelCopyright.Name = "StatusLabelCopyright"; 66 | this.StatusLabelCopyright.Size = new System.Drawing.Size(174, 21); 67 | this.StatusLabelCopyright.Text = "Copyright © gdoujkzz 2019"; 68 | // 69 | // StatusLabelVersion 70 | // 71 | this.StatusLabelVersion.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) 72 | | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) 73 | | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom))); 74 | this.StatusLabelVersion.Name = "StatusLabelVersion"; 75 | this.StatusLabelVersion.Size = new System.Drawing.Size(97, 21); 76 | this.StatusLabelVersion.Text = "Version 1.0.0.1"; 77 | // 78 | // StatusLabelUserName 79 | // 80 | this.StatusLabelUserName.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) 81 | | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) 82 | | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom))); 83 | this.StatusLabelUserName.Name = "StatusLabelUserName"; 84 | this.StatusLabelUserName.Size = new System.Drawing.Size(65, 21); 85 | this.StatusLabelUserName.Text = "gdoujkzz"; 86 | // 87 | // dpnSkin 88 | // 89 | this.dpnSkin.Name = "dpnSkin"; 90 | this.dpnSkin.Size = new System.Drawing.Size(93, 24); 91 | this.dpnSkin.Text = "Change Skin"; 92 | this.dpnSkin.ToolTipText = "Change Skin"; 93 | // 94 | // statusStrip1 95 | // 96 | this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 97 | this.StatusLabelCopyright, 98 | this.StatusLabelVersion, 99 | this.StatusLabelUserName, 100 | this.dpnSkin}); 101 | this.statusStrip1.Location = new System.Drawing.Point(0, 424); 102 | this.statusStrip1.Name = "statusStrip1"; 103 | this.statusStrip1.Size = new System.Drawing.Size(800, 26); 104 | this.statusStrip1.TabIndex = 15; 105 | this.statusStrip1.Text = "statusStrip1"; 106 | // 107 | // MainFrm 108 | // 109 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 110 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 111 | this.ClientSize = new System.Drawing.Size(800, 450); 112 | this.Controls.Add(this.statusStrip1); 113 | this.Controls.Add(this.dockPanel); 114 | this.Controls.Add(this.mainMenu); 115 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 116 | this.ImeMode = System.Windows.Forms.ImeMode.On; 117 | this.IsMdiContainer = true; 118 | this.Name = "MainFrm"; 119 | this.TabText = "SimpleSystem"; 120 | this.Text = "SimpleSystem"; 121 | this.Load += new System.EventHandler(this.MainFrm_Load); 122 | this.statusStrip1.ResumeLayout(false); 123 | this.statusStrip1.PerformLayout(); 124 | this.ResumeLayout(false); 125 | this.PerformLayout(); 126 | 127 | } 128 | 129 | #endregion 130 | 131 | private System.Windows.Forms.MenuStrip mainMenu; 132 | private WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel; 133 | private System.Windows.Forms.ToolStripStatusLabel StatusLabelCopyright; 134 | private System.Windows.Forms.ToolStripStatusLabel StatusLabelVersion; 135 | private System.Windows.Forms.ToolStripStatusLabel StatusLabelUserName; 136 | private System.Windows.Forms.ToolStripDropDownButton dpnSkin; 137 | private System.Windows.Forms.StatusStrip statusStrip1; 138 | } 139 | } 140 | 141 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/MainFrm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.IO; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | using System.Windows.Forms; 11 | using WeifenLuo.WinFormsUI.Docking; 12 | using WinformDock.Base; 13 | using WinformDock.Outbound; 14 | using WinformDock.Report; 15 | using WinformDock.Util; 16 | 17 | namespace WinformDock 18 | { 19 | public partial class MainFrm : DockContent 20 | { 21 | private Sunisoft.IrisSkin.SkinEngine skinEngine1; 22 | private NavFrm _navFrm; 23 | public MainFrm() 24 | { 25 | InitializeComponent(); 26 | try 27 | { 28 | this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(); 29 | // 30 | // skinEngine1 31 | // 32 | this.skinEngine1.@__DrawButtonFocusRectangle = true; 33 | this.skinEngine1.DisabledButtonTextColor = System.Drawing.Color.Gray; 34 | this.skinEngine1.DisabledMenuFontColor = System.Drawing.SystemColors.GrayText; 35 | this.skinEngine1.InactiveCaptionColor = System.Drawing.SystemColors.InactiveCaptionText; 36 | this.skinEngine1.SerialNumber = ""; 37 | this.skinEngine1.SkinFile = null; 38 | } 39 | catch (System.Exception ex) 40 | { 41 | //throw; 42 | } 43 | } 44 | 45 | /// 46 | /// 窗体加载 47 | /// 48 | /// 49 | /// 50 | private void MainFrm_Load(object sender, EventArgs e) 51 | { 52 | GenerateMenuHeader(); 53 | BindSkinList(); 54 | SetNavFrm(); 55 | //窗体加载的时候 56 | DockContent form = new Welcome(); 57 | form.Name = "WelcomeForm"; 58 | form.TabText = "Welcome"; 59 | form.Show(dockPanel); 60 | } 61 | 62 | /// 63 | /// 生成菜单头 64 | /// 65 | private void GenerateMenuHeader() 66 | { 67 | MenuDatas.MenuList.Where(d=>d.ParentId==0).OrderBy(d=>d.SortOrder).ToList().ForEach(d => 68 | { 69 | var menu = new MenuData() { Id = d.Id, ParentId = d.ParentId, Name = d.Name, SortOrder = d.SortOrder }; 70 | mainMenu.Items.Add(new System.Windows.Forms.ToolStripMenuItem() 71 | { 72 | Text = menu.Name, 73 | Tag = menu, 74 | }); 75 | }); 76 | } 77 | 78 | private void SetNavFrm() 79 | { 80 | _navFrm = new NavFrm(dockPanel); 81 | _navFrm.CloseButton = false; 82 | if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) 83 | { 84 | _navFrm.MdiParent = this; 85 | _navFrm.Show(dockPanel, DockState.DockLeft); 86 | } 87 | else 88 | { 89 | _navFrm.Show(dockPanel, DockState.DockLeft); 90 | } 91 | } 92 | 93 | private void BindSkinList() 94 | { 95 | dpnSkin.DropDownItems.Clear(); 96 | var image = Image.FromFile("menu.png"); 97 | DirectoryInfo TheFolder = new DirectoryInfo(Application.StartupPath + string.Format("//Skins")); 98 | 99 | //遍历文件 100 | foreach (FileInfo file in TheFolder.GetFiles()) 101 | { 102 | dpnSkin.DropDownItems.Add(new ToolStripMenuItem(file.Name, image, dpnSkin_Click, file.Name)); 103 | } 104 | 105 | //dpnSkin.DropDownItems.Add(new ToolStripMenuItem("皮肤Calmness", image, dpnSkin_Click, "Calmness")); 106 | //dpnSkin.DropDownItems.Add(new ToolStripMenuItem("皮肤Midsummer", image, dpnSkin_Click, "Midsummer")); 107 | //dpnSkin.DropDownItems.Add(new ToolStripMenuItem("皮肤mp10pink", image, dpnSkin_Click, "mp10pink")); 108 | //dpnSkin.DropDownItems.Add(new ToolStripMenuItem("皮肤OneGreen", image, dpnSkin_Click, "OneGreen")); 109 | //dpnSkin.DropDownItems.Add(new ToolStripMenuItem("皮肤Warm", image, dpnSkin_Click, "Warm")); 110 | } 111 | 112 | 113 | private void dpnSkin_Click(object sender, EventArgs e) 114 | { 115 | try 116 | { 117 | var tsDropDownItem = sender as ToolStripDropDownItem; 118 | if (tsDropDownItem == null) 119 | { 120 | return; 121 | } 122 | string skinName = tsDropDownItem.Name; 123 | 124 | this.skinEngine1.SkinFile = Application.StartupPath + string.Format("//Skins//{0}", skinName); 125 | //var se = new Sunisoft.IrisSkin.SkinEngine(); 126 | 127 | } 128 | catch (Exception ex) 129 | { 130 | 131 | //MessageBoxUtils.Show(ex.Message); 132 | return; 133 | } 134 | 135 | } 136 | 137 | 138 | //private void printLabelToolStripMenuItem_Click(object sender, EventArgs e) 139 | //{ 140 | // ShowDocument(typeof(PrintLabel), "PrintLabel",dockPanel); 141 | //} 142 | 143 | //private void deliveryListToolStripMenuItem_Click(object sender, EventArgs e) 144 | //{ 145 | // ShowDocument(typeof(DeliveryList), "DeliveryList"); 146 | //} 147 | 148 | //private void daReportToolStripMenuItem_Click(object sender, EventArgs e) 149 | //{ 150 | // ShowDocument(typeof(DaReport), "DaReport"); 151 | //} 152 | 153 | //private void userManagerToolStripMenuItem_Click(object sender, EventArgs e) 154 | //{ 155 | // ShowDocument(typeof(UserManager), "UserManager"); 156 | //} 157 | 158 | //当别人点击菜单头的时候,想办法带出子菜单来。 159 | private void mainMenu_ItemClicked(object sender, ToolStripItemClickedEventArgs e) 160 | { 161 | var menuData = e.ClickedItem.Tag as MenuData; 162 | if (menuData != null) 163 | { 164 | _navFrm.Text = menuData.Name; 165 | _navFrm.TabText = menuData.Name; 166 | _navFrm.LoadMenu(menuData.Id); 167 | } 168 | } 169 | } 170 | } 171 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/NavFrm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock 2 | { 3 | partial class NavFrm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.subMenuTree = new System.Windows.Forms.TreeView(); 32 | this.SuspendLayout(); 33 | // 34 | // subMenuTree 35 | // 36 | this.subMenuTree.Dock = System.Windows.Forms.DockStyle.Fill; 37 | this.subMenuTree.Location = new System.Drawing.Point(0, 0); 38 | this.subMenuTree.Name = "subMenuTree"; 39 | this.subMenuTree.Size = new System.Drawing.Size(180, 450); 40 | this.subMenuTree.TabIndex = 0; 41 | this.subMenuTree.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.subMenuTree_NodeMouseDoubleClick); 42 | // 43 | // NavFrm 44 | // 45 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 46 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 47 | this.ClientSize = new System.Drawing.Size(180, 450); 48 | this.Controls.Add(this.subMenuTree); 49 | this.Name = "NavFrm"; 50 | this.TabText = "NavFrm"; 51 | this.Text = "NavFrm"; 52 | this.ResumeLayout(false); 53 | 54 | } 55 | 56 | #endregion 57 | 58 | private System.Windows.Forms.TreeView subMenuTree; 59 | } 60 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/NavFrm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | using WinformDock.Util; 12 | 13 | namespace WinformDock 14 | { 15 | public partial class NavFrm : DockContent 16 | { 17 | private DockPanel dockPanel; 18 | public NavFrm(DockPanel dp) 19 | { 20 | dockPanel = dp; 21 | InitializeComponent(); 22 | } 23 | 24 | public void LoadMenu(int parentId) 25 | { 26 | subMenuTree.Nodes.Clear(); 27 | LoadChildMenu(subMenuTree.Nodes, parentId); 28 | } 29 | 30 | public void LoadChildMenu(TreeNodeCollection collection,int parentId) 31 | { 32 | //加载子菜单。 33 | var childMenus=MenuDatas.MenuList.Where(d => d.ParentId == parentId).ToList(); 34 | collection.Clear(); 35 | foreach(var menu in childMenus) 36 | { 37 | var treeNode = new TreeNode(); 38 | treeNode.Text = menu.Name; 39 | treeNode.Tag = new MenuData() 40 | { 41 | Id=menu.Id, 42 | FormType=menu.FormType, 43 | Name=menu.Name, 44 | ParentId=menu.Id, 45 | SortOrder=menu.SortOrder 46 | }; 47 | collection.Add(treeNode); 48 | } 49 | } 50 | 51 | 52 | public void ShowDocument(Type formType, string tabText, params object[] args) 53 | { 54 | IDockContent docForm = FindDocument(formType.Name); 55 | if (docForm == null) 56 | { 57 | try 58 | { 59 | DockContent form = (DockContent)Activator.CreateInstance(formType, args); 60 | form.Name = formType.Name; 61 | form.TabText = tabText; 62 | if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) 63 | { 64 | form.MdiParent = this; 65 | form.Show(dockPanel); 66 | } 67 | else 68 | { 69 | form.Show(dockPanel); 70 | } 71 | } 72 | catch (Exception ex) 73 | { 74 | MessageBox.Show(ex.Message); 75 | } 76 | } 77 | else 78 | { 79 | docForm.DockHandler.Activate(); 80 | } 81 | } 82 | 83 | private IDockContent FindDocument(string text) 84 | { 85 | if (dockPanel.DocumentStyle == DocumentStyle.SystemMdi) 86 | { 87 | foreach (Form form in MdiChildren) 88 | if (form.Text == text) 89 | return form as IDockContent; 90 | return null; 91 | } 92 | else 93 | { 94 | foreach (IDockContent content in dockPanel.Documents) 95 | if (content.DockHandler.TabText == text) 96 | return content; 97 | 98 | return null; 99 | } 100 | } 101 | 102 | private void subMenuTree_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) 103 | { 104 | if (e.Button == System.Windows.Forms.MouseButtons.Left) 105 | { 106 | MenuData menuData = e.Node.Tag as MenuData; 107 | if (menuData != null) 108 | { 109 | var type111 = Type.GetType(menuData.FormType); 110 | ShowDocument(Type.GetType(menuData.FormType) ,menuData.Name); 111 | } 112 | } 113 | } 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/NavFrm.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Outbound/DeliveryList.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock.Outbound 2 | { 3 | partial class DeliveryList 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.label1 = new System.Windows.Forms.Label(); 32 | this.SuspendLayout(); 33 | // 34 | // label1 35 | // 36 | this.label1.AutoSize = true; 37 | this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 38 | this.label1.Location = new System.Drawing.Point(296, 215); 39 | this.label1.Name = "label1"; 40 | this.label1.Size = new System.Drawing.Size(230, 21); 41 | this.label1.TabIndex = 1; 42 | this.label1.Text = "this is DeliveryList"; 43 | // 44 | // DeliveryList 45 | // 46 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 47 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 48 | this.ClientSize = new System.Drawing.Size(800, 450); 49 | this.Controls.Add(this.label1); 50 | this.Name = "DeliveryList"; 51 | this.TabText = "DeliveryList"; 52 | this.Text = "DeliveryList"; 53 | this.ResumeLayout(false); 54 | this.PerformLayout(); 55 | 56 | } 57 | 58 | #endregion 59 | 60 | private System.Windows.Forms.Label label1; 61 | } 62 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Outbound/DeliveryList.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace WinformDock.Outbound 13 | { 14 | public partial class DeliveryList : DockContent 15 | { 16 | public DeliveryList() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Outbound/DeliveryList.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace WinformDock 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// 应用程序的主入口点。 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new MainFrm()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("WinformDock")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("WinformDock")] 13 | [assembly: AssemblyCopyright("Copyright © 2019")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 会使此程序集中的类型 18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("8c10cd21-3391-4c35-9709-f11b3880e7ee")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WinformDock.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// 一个强类型的资源类,用于查找本地化的字符串等。 17 | /// 18 | // 此类是由 StronglyTypedResourceBuilder 19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen 21 | // (以 /str 作为命令选项),或重新生成 VS 项目。 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// 返回此类使用的缓存的 ResourceManager 实例。 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WinformDock.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// 重写当前线程的 CurrentUICulture 属性 51 | /// 重写当前线程的 CurrentUICulture 属性。 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | 63 | /// 64 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 65 | /// 66 | internal static System.Drawing.Bitmap Welcome { 67 | get { 68 | object obj = ResourceManager.GetObject("Welcome", resourceCulture); 69 | return ((System.Drawing.Bitmap)(obj)); 70 | } 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 122 | ..\Resources\Welcome.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 123 | 124 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WinformDock.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Report/DaReport.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock.Report 2 | { 3 | partial class DaReport 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.label1 = new System.Windows.Forms.Label(); 32 | this.SuspendLayout(); 33 | // 34 | // label1 35 | // 36 | this.label1.AutoSize = true; 37 | this.label1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 38 | this.label1.Location = new System.Drawing.Point(296, 215); 39 | this.label1.Name = "label1"; 40 | this.label1.Size = new System.Drawing.Size(186, 21); 41 | this.label1.TabIndex = 1; 42 | this.label1.Text = "this is DaReport"; 43 | // 44 | // DaReport 45 | // 46 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 47 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 48 | this.ClientSize = new System.Drawing.Size(800, 450); 49 | this.Controls.Add(this.label1); 50 | this.Name = "DaReport"; 51 | this.TabText = "DaReport"; 52 | this.Text = "DaReport"; 53 | this.ResumeLayout(false); 54 | this.PerformLayout(); 55 | 56 | } 57 | 58 | #endregion 59 | 60 | private System.Windows.Forms.Label label1; 61 | } 62 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Report/DaReport.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace WinformDock.Report 13 | { 14 | public partial class DaReport : DockContent 15 | { 16 | public DaReport() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Report/DaReport.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Resources/Welcome.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Resources/Welcome.jpg -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Calmness.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Calmness.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/CalmnessColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/CalmnessColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/CalmnessColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/CalmnessColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DeepCyan.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DeepCyan.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DeepGreen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DeepGreen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DeepOrange.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DeepOrange.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DiamondBlue.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DiamondBlue.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DiamondGreen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DiamondGreen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DiamondOlive.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DiamondOlive.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DiamondPurple.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DiamondPurple.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/DiamondRed.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/DiamondRed.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Eighteen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Eighteen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/EighteenColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/EighteenColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/EighteenColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/EighteenColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Emerald.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Emerald.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/EmeraldColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/EmeraldColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/EmeraldColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/EmeraldColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/EmeraldColor3.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/EmeraldColor3.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/GlassBrown.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/GlassBrown.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/GlassGreen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/GlassGreen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/GlassOrange.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/GlassOrange.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Longhorn.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Longhorn.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/MSN.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/MSN.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/MacOS.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/MacOS.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Midsummer.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Midsummer.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/MidsummerColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/MidsummerColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/MidsummerColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/MidsummerColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/MidsummerColor3.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/MidsummerColor3.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/OneBlue.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/OneBlue.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/OneCyan.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/OneCyan.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/OneGreen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/OneGreen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/OneOrange.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/OneOrange.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Page.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Page.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/PageColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/PageColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/PageColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/PageColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/RealOne.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/RealOne.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Silver.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Silver.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SilverColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SilverColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SilverColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SilverColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SportsBlack.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SportsBlack.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SportsBlue.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SportsBlue.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SportsCyan.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SportsCyan.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SportsGreen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SportsGreen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SportsOrange.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SportsOrange.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SteelBlack.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SteelBlack.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/SteelBlue.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/SteelBlue.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color3.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color3.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color4.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color4.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color5.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color5.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color6.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color6.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Vista2_color7.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Vista2_color7.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Warm.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Warm.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/WarmColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/WarmColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/WarmColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/WarmColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/WarmColor3.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/WarmColor3.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/Wave.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/Wave.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/WaveColor1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/WaveColor1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/WaveColor2.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/WaveColor2.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/XPBlue.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/XPBlue.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/XPGreen.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/XPGreen.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/XPOrange.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/XPOrange.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/XPSilver.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/XPSilver.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/mp10.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/mp10.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/mp10green.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/mp10green.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/mp10maroon.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/mp10maroon.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/mp10mulberry.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/mp10mulberry.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/mp10pink.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/mp10pink.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/mp10purple.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/mp10purple.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/office2007.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/office2007.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/vista1.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/vista1.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Skins/vista1_green.ssk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/Skins/vista1_green.ssk -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Util/MenuData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace WinformDock.Util 8 | { 9 | public class MenuData 10 | { 11 | public int Id { get; set; } 12 | 13 | public string Name { get; set; } 14 | 15 | public int ParentId { get; set; } 16 | 17 | public string FormType { get; set; } 18 | 19 | public int SortOrder { get; set; } 20 | } 21 | 22 | public class MenuDatas { 23 | public static List MenuList => new List() { 24 | new MenuData() { Id=1,ParentId=0,Name="System",FormType="",SortOrder=1}, 25 | new MenuData() { Id=2,ParentId=0,Name="Inbound",FormType="",SortOrder=2}, 26 | new MenuData(){ Id=3,ParentId=0,Name="Outbound",FormType="",SortOrder=3}, 27 | new MenuData(){ Id=4,ParentId=0,Name="Report",FormType="",SortOrder=4}, 28 | new MenuData(){Id=11,ParentId=1,Name="UserManager",FormType="WinformDock.Base.UserManager,WinformDock",SortOrder=1}, 29 | new MenuData(){Id=12,ParentId=1,Name="MenuManger",FormType="WinformDock.Base.MenuManager,WinformDock",SortOrder=2}, 30 | new MenuData(){Id=21,ParentId=2,Name="PrintLabel",FormType="WinformDock.PrintLabel,WinformDock",SortOrder=1}, 31 | new MenuData(){Id=31,ParentId=3,Name="DeliveryList",FormType="WinformDock.Outbound.DeliveryList,WinformDock",SortOrder=1}, 32 | new MenuData(){Id=41,ParentId=4,Name="DaReport",FormType="WinformDock.Report.DaReport,WinformDock",SortOrder=1} 33 | }; 34 | } 35 | 36 | 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Welcome.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace WinformDock 2 | { 3 | partial class Welcome 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.pictureBox1 = new System.Windows.Forms.PictureBox(); 32 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); 33 | this.SuspendLayout(); 34 | // 35 | // pictureBox1 36 | // 37 | this.pictureBox1.Image = global::WinformDock.Properties.Resources.Welcome; 38 | this.pictureBox1.Location = new System.Drawing.Point(0, 1); 39 | this.pictureBox1.Name = "pictureBox1"; 40 | this.pictureBox1.Size = new System.Drawing.Size(300, 150); 41 | this.pictureBox1.TabIndex = 0; 42 | this.pictureBox1.TabStop = false; 43 | // 44 | // Welcome 45 | // 46 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 47 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 48 | this.ClientSize = new System.Drawing.Size(800, 329); 49 | this.Controls.Add(this.pictureBox1); 50 | this.Name = "Welcome"; 51 | this.TabText = "Welcome"; 52 | this.Text = "Welcome"; 53 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); 54 | this.ResumeLayout(false); 55 | 56 | } 57 | 58 | #endregion 59 | 60 | private System.Windows.Forms.PictureBox pictureBox1; 61 | } 62 | } -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Welcome.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace WinformDock 13 | { 14 | public partial class Welcome : DockContent 15 | { 16 | public Welcome() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/Welcome.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/WinformDock.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {8C10CD21-3391-4C35-9709-F11B3880E7EE} 8 | WinExe 9 | WinformDock 10 | WinformDock 11 | v4.6.2 12 | 512 13 | true 14 | true 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | 38 | 39 | ..\..\..\ck1-wms-app\Libs\IrisSkin4.dll 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | ..\packages\WeifenLuo.WinFormsUI.Docking.2.1.0\lib\net20\WeifenLuo.WinFormsUI.Docking.dll 54 | 55 | 56 | 57 | 58 | Form 59 | 60 | 61 | MenuManager.cs 62 | 63 | 64 | Form 65 | 66 | 67 | UserManager.cs 68 | 69 | 70 | Form 71 | 72 | 73 | NavFrm.cs 74 | 75 | 76 | Form 77 | 78 | 79 | DeliveryList.cs 80 | 81 | 82 | Form 83 | 84 | 85 | DaReport.cs 86 | 87 | 88 | 89 | Form 90 | 91 | 92 | Welcome.cs 93 | 94 | 95 | 96 | Form 97 | 98 | 99 | PrintLabel.cs 100 | 101 | 102 | Form 103 | 104 | 105 | MainFrm.cs 106 | 107 | 108 | 109 | 110 | MenuManager.cs 111 | 112 | 113 | UserManager.cs 114 | 115 | 116 | NavFrm.cs 117 | 118 | 119 | DeliveryList.cs 120 | 121 | 122 | DaReport.cs 123 | 124 | 125 | Welcome.cs 126 | 127 | 128 | PrintLabel.cs 129 | 130 | 131 | MainFrm.cs 132 | 133 | 134 | ResXFileCodeGenerator 135 | Resources.Designer.cs 136 | Designer 137 | 138 | 139 | True 140 | Resources.resx 141 | True 142 | 143 | 144 | 145 | SettingsSingleFileGenerator 146 | Settings.Designer.cs 147 | 148 | 149 | True 150 | Settings.settings 151 | True 152 | 153 | 154 | Always 155 | 156 | 157 | Always 158 | 159 | 160 | Always 161 | 162 | 163 | Always 164 | 165 | 166 | Always 167 | 168 | 169 | Always 170 | 171 | 172 | Always 173 | 174 | 175 | Always 176 | 177 | 178 | Always 179 | 180 | 181 | Always 182 | 183 | 184 | Always 185 | 186 | 187 | Always 188 | 189 | 190 | Always 191 | 192 | 193 | Always 194 | 195 | 196 | Always 197 | 198 | 199 | Always 200 | 201 | 202 | Always 203 | 204 | 205 | Always 206 | 207 | 208 | Always 209 | 210 | 211 | Always 212 | 213 | 214 | Always 215 | 216 | 217 | Always 218 | 219 | 220 | Always 221 | 222 | 223 | Always 224 | 225 | 226 | Always 227 | 228 | 229 | Always 230 | 231 | 232 | Always 233 | 234 | 235 | Always 236 | 237 | 238 | Always 239 | 240 | 241 | Always 242 | 243 | 244 | Always 245 | 246 | 247 | Always 248 | 249 | 250 | Always 251 | 252 | 253 | Always 254 | 255 | 256 | Always 257 | 258 | 259 | Always 260 | 261 | 262 | Always 263 | 264 | 265 | Always 266 | 267 | 268 | Always 269 | 270 | 271 | Always 272 | 273 | 274 | Always 275 | 276 | 277 | Always 278 | 279 | 280 | Always 281 | 282 | 283 | Always 284 | 285 | 286 | Always 287 | 288 | 289 | Always 290 | 291 | 292 | Always 293 | 294 | 295 | Always 296 | 297 | 298 | Always 299 | 300 | 301 | Always 302 | 303 | 304 | Always 305 | 306 | 307 | Always 308 | 309 | 310 | Always 311 | 312 | 313 | Always 314 | 315 | 316 | Always 317 | 318 | 319 | Always 320 | 321 | 322 | Always 323 | 324 | 325 | Always 326 | 327 | 328 | Always 329 | 330 | 331 | Always 332 | 333 | 334 | Always 335 | 336 | 337 | Always 338 | 339 | 340 | Always 341 | 342 | 343 | Always 344 | 345 | 346 | Always 347 | 348 | 349 | Always 350 | 351 | 352 | Always 353 | 354 | 355 | Always 356 | 357 | 358 | Always 359 | 360 | 361 | Always 362 | 363 | 364 | Always 365 | 366 | 367 | Always 368 | 369 | 370 | Always 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | PreserveNewest 382 | 383 | 384 | 385 | -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gdoujkzz/Winform-Demo/da421c2c88e79ce5a0071f38f3ae1c10633b7d64/Winform-Demo/WinformDock/menu.png -------------------------------------------------------------------------------- /Winform-Demo/WinformDock/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | --------------------------------------------------------------------------------