用 C# 编写位置网格地图
我想知道 C# 中是否有任何内置控件,我可以使用它们在 X/Y 平面上编写位置网格图。
I would like to know if there are any inbuilt controls in C# with which I can program location grid maps on a X/Y Plane.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我唯一想到的是网格视图。您可以将列和行排列成规则的网格。
除此之外,.Net 使得将控件动态放置到容器中变得非常容易。您也可以进行手动绘图,这非常简单。
这是示例网格绘画。
下面是向表单动态添加控件的示例。
The only thing that comes to mind is the grid view. You could arrange the columns and rows into a regular grid.
Besides that, .Net makes it very easy to place controls dynamically into containers. You could also do manual drawing which is very straightforward.
Here is an example of grid painting.
And here's an example of dynamically adding controls to a form.