Description: DockPanelSkin_demo,使panel可以你visual studio一样停靠,有一定的参考作用-DockPanelSkin_demo, so that panel can call you like visual studio, there is some reference value Platform: |
Size: 884736 |
Author:宴宾 |
Hits:
Description: ockPanel Suite是一个国外开源项目。
项目要引用WeifenLuo.WinFormsUI.Docking.dll,这个程序集包含了控件及相关类。
需要在DockPanel控件中显示的子窗体(多标签,停靠,自动隐藏)必须继承自WeifenLuo.WinFormsUI.Docking. DockContent类;DockContent重载了窗体的show方法,所以继承自DockContent的子窗体能把自己以指定方式显示在指定的DockPanel区域内;放置了DockPanel的窗体就为父窗体,需要把父窗体的IsMdiContainer属性设为true。
DockPanel的SaveAsXml方法,能以XML形式,把Panel内所有子窗体的显示状态信息保存至指定的本地文件。DockPanel的LoadFromXml方法,能读取之前保存的子窗体信息,再根据使用者提供的相应处理方法,把子窗体恢复到之前状态。-OckPanel Suite is an open source projects abroad.
Project to reference WeifenLuo. WinFormsUI. Docking. DLL, the assembly contains the controls and related classes.
Need to display in the DockPanel control subframe (labels, dock, auto hide) must inherit WeifenLuo. WinFormsUI. Docking. DockContent classes DockContent overloaded forms show method, so can inherit DockContent child form to specify the way shows himself in the specified DockPanel area Place the DockPanel forms for the parent form, need to put parent form IsMdiContainer attribute set to true.
DockPanel SaveAsXml method, can be in the form of XML, the display status information of all child form within a Panel saved to the specified local file.DockPanel LoadFromXml method, can be read before save the child form of information, according to the user to provide the corresponding processing method, traverse to the child before the form back to the state. Platform: |
Size: 1941504 |
Author:赵仁 |
Hits: