文件名称:dfShare
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2016-09-21
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 申**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
2016年9月21日
如何方便的保存WinForm窗体控件的位置大小等等配置信息
由于分辨率、屏幕主题、字体大小的不同,窗体显示效果在不同机器上不尽相同。窗体的弹性设计并不能满足多样的需求。为保证在各种情况下,能有满意的效果。窗体的多样显示方式能改变,并且保存、载入配置,显得很重要。我试写了个C#下的类,来做这件事。宗旨是使用方便,并且尽量小巧,载入快速,和可以扩展。
先说使用:
本类针对最常用的需要,如窗体位置、大小。和表格的列宽。进行设计。如果需要,可自行扩展。
-How convenient location Save WinForm form controls the size of the configuration information, etc.
Due to the different resolution, screen theme, the font size, the form looks different on different machines. Flexible design of the form and can not meet the diverse needs. To ensure that in all cases, to have satisfactory results. The way to change the form of a variety show, and saving, loading configuration, is very important. I tried to write a C# under class, do it. Aim is easy to use, and try to compact, fast loading, and can be extended.
Let me talk about the use of:
The class for the most common needs, such as window location and size. And column widths. Design. If desired, you can expand on their own.
如何方便的保存WinForm窗体控件的位置大小等等配置信息
由于分辨率、屏幕主题、字体大小的不同,窗体显示效果在不同机器上不尽相同。窗体的弹性设计并不能满足多样的需求。为保证在各种情况下,能有满意的效果。窗体的多样显示方式能改变,并且保存、载入配置,显得很重要。我试写了个C#下的类,来做这件事。宗旨是使用方便,并且尽量小巧,载入快速,和可以扩展。
先说使用:
本类针对最常用的需要,如窗体位置、大小。和表格的列宽。进行设计。如果需要,可自行扩展。
-How convenient location Save WinForm form controls the size of the configuration information, etc.
Due to the different resolution, screen theme, the font size, the form looks different on different machines. Flexible design of the form and can not meet the diverse needs. To ensure that in all cases, to have satisfactory results. The way to change the form of a variety show, and saving, loading configuration, is very important. I tried to write a C# under class, do it. Aim is easy to use, and try to compact, fast loading, and can be extended.
Let me talk about the use of:
The class for the most common needs, such as window location and size. And column widths. Design. If desired, you can expand on their own.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
dfShare\oConfig\oConfig.cs
.......\.......\xmlConfig.cs
.......\oConfig
dfShare