文件名称:GridView
- 所属分类:
- 企业管理(财务/ERP/EIP等)
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 48kb
- 下载次数:
- 0次
- 提 供 者:
- 同**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
大家好,前一段时间我开发了一些基于VS2005下的控件,不知道对大家是否在学习VS2005方面有帮助,今天继续发布基于VS2005下的控件,这个控件主要是针对财务金额显示方面的,最近在做个项目,得用到财务的金额显示,即带有财务表览的显示方法。在网上看看了,发现没有用.net开发的,有用PB,VB等开发的,所以昨天抽出时间写了个这方面的控件。首先大家要知道,在DataGridView中显示财务表览方式的金额,一定要重写去写DataGridViewCell,与DataGridViewColumn 两个类,这个控件的做法很简单,就是在DataGridViewCell中把Paint事件重新写一下就可以,可以使用GDI+来画竖线,然后动态算出每条竖线之间的间距离就可以,至于怎么编写DataGridViewCell 与DataGridViewColumn两个类的继承类,请参照我之前发的随笔有介绍。-Hello, everyone, some time ago I developed some controls under VS2005 based, do not know whether we have to help in learning VS2005, VS2005 based on today continue to issue under control, this control is mainly aimed at the financial aspects of the amount shown, most recently in to be a project, the amount was used in the financial shows, that with the financial statements in relation to the display method. The Internet to see, and found no use. Net development, useful PB, VB and other development, so yesterday, taking the time to write a control in this area. First of all we know, the financial table in the DataGridView display the amount of browse mode, must be rewritten to write DataGridViewCell, and DataGridViewColumn two classes, this control approach is very simple, that is, DataGridViewCell in the Paint event to re-write what you can, you can use GDI to draw vertical lines, and then dynamically calculate the distance between each vertical line can be, as to how to prepare two Da
(系统自动生成,下载前可以参看下载内容)
下载文件列表
WindowsApplication37\WindowsApplication37\Properties\Resources.resx
....................\....................\..........\Settings.settings
....................\....................\..........\AssemblyInfo.cs
....................\....................\..........\Resources.Designer.cs
....................\....................\..........\Settings.Designer.cs
....................\....................\Properties
....................\....................\FinanceTextBoxCell.cs
....................\....................\Form1.cs
....................\....................\WindowsApplication37.csproj
....................\....................\bin\Debug\WindowsApplication37.vshost.exe
....................\....................\...\.....\WindowsApplication37.exe
....................\....................\...\.....\WindowsApplication37.pdb
....................\....................\...\Debug
....................\....................\bin
....................\....................\obj\Debug\TempPE
....................\....................\...\.....\WindowsApplication37.Form1.resources
....................\....................\...\.....\WindowsApplication37.Properties.Resources.resources
....................\....................\...\.....\WindowsApplication37.pdb
....................\....................\...\.....\WindowsApplication37.csproj.GenerateResource.Cache
....................\....................\...\.....\WindowsApplication37.exe
....................\....................\...\.....\Refactor
....................\....................\...\Debug
....................\....................\...\WindowsApplication37.csproj.FileList.txt
....................\....................\obj
....................\....................\FinanceTextBoxColumn.cs
....................\....................\Form1.Designer.cs
....................\....................\Form1.resx
....................\....................\Program.cs
....................\WindowsApplication37
....................\WindowsApplication37.sln
....................\WindowsApplication37.suo
WindowsApplication37
....................\....................\..........\Settings.settings
....................\....................\..........\AssemblyInfo.cs
....................\....................\..........\Resources.Designer.cs
....................\....................\..........\Settings.Designer.cs
....................\....................\Properties
....................\....................\FinanceTextBoxCell.cs
....................\....................\Form1.cs
....................\....................\WindowsApplication37.csproj
....................\....................\bin\Debug\WindowsApplication37.vshost.exe
....................\....................\...\.....\WindowsApplication37.exe
....................\....................\...\.....\WindowsApplication37.pdb
....................\....................\...\Debug
....................\....................\bin
....................\....................\obj\Debug\TempPE
....................\....................\...\.....\WindowsApplication37.Form1.resources
....................\....................\...\.....\WindowsApplication37.Properties.Resources.resources
....................\....................\...\.....\WindowsApplication37.pdb
....................\....................\...\.....\WindowsApplication37.csproj.GenerateResource.Cache
....................\....................\...\.....\WindowsApplication37.exe
....................\....................\...\.....\Refactor
....................\....................\...\Debug
....................\....................\...\WindowsApplication37.csproj.FileList.txt
....................\....................\obj
....................\....................\FinanceTextBoxColumn.cs
....................\....................\Form1.Designer.cs
....................\....................\Form1.resx
....................\....................\Program.cs
....................\WindowsApplication37
....................\WindowsApplication37.sln
....................\WindowsApplication37.suo
WindowsApplication37