|
|
1
1
看看伊利亚·图马诺夫的 example of custom formatting data in the DataGrid . 他在里面画细胞。 |
|
|
2
1
您必须重写网格上的“onpaint”方法,或者使用其他网格(我认为sourcegrid在早期版本兼容的wiht cf中)。 .NET框架具有传统的不太好的网格控件:(。 |
|
|
3
-4
将DataGridView控件中的AutoSizeRowsMode属性设置为DisplayedCells。 其他信息: http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.autosizerowsmode.aspx |