DataGridView Header Stacked - VB.NET

做~自己de王妃 提交于 2020-01-15 11:36:08

问题


I need the columns Headers to be Stacked, like Header Cells Merged. The Same as in this image.

Please Refer to this link. It is done with C#. It does exactly what I need. http://www.codeproject.com/Articles/474418/DataGridViewplus-e2-80-93plusStackedplusHeader

But the Problem is, Im working on vbproj and It cant include this C#. I used some code converters and ended with some errors in raising events, etc.

Is there any way to get this in VB.NET

Or Is there any other way to make this stacked Headers??


回答1:


This doesn't directly answer your question about conversion, but the easiest solution is to keep the code in C# as a separate project, then add it as a project reference in your VB.NET project.



来源:https://stackoverflow.com/questions/12928893/datagridview-header-stacked-vb-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!