开发者

DataGridView Checkbox Column cannot display correctly in one workstation when customized it

开发者 https://www.devze.com 2022-12-15 23:52 出处:网络
I got a problem that when I created a customize control using panel and added a DataGridView into it, one of workstation cannot show the checkbox column checkbox (just show a empty column which开发者_

I got a problem that when I created a customize control using panel and added a DataGridView into it, one of workstation cannot show the checkbox column checkbox (just show a empty column which开发者_Python百科 haven't see the checkbox) and that DataGridView ordering is totally changed.

I have tested to uninstall and re-install all the .net framework (include uninstalled 1.1), and tried to copy the System.Windows.Forms.dll to that workstation (.net 2.0 folder) but the problem is still here. Any idea of this case? Any method of panel or datagridview I can call?

P.S. 99% of workstations are work in normal, but I need to fix the only one workstation which contain this problem.

Thanks.


Check the system's DPI setting. On XP its under Display Properties > Settings tab > Advanced button. On the top of the General tab in the Advanced dialog, you'll see the DPI setting. 96 is default. This might be what Mikael was meaning, but I'm not sure.

0

精彩评论

暂无评论...
验证码 换一张
取 消