C#xy坐标网格 [英] C# xy coordinate grid

查看:265
本文介绍了C#xy坐标网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在C#中实现坐标网格,因为我需要使用鼠标根据设置的x&y轴放置图像.

*我不确定它是否存在,因为我看到了大量的gridview,但是它们不是.

Hi, I would like to know how to implement a coordinate grid in C# as i require to place the image according to the x&y axis set using a mouse.

*I''m not sure if it existed as i seen quite alot of gridview but they aren''t the ones.

推荐答案

您可以:
  1. 绘制等距水平线.
  2. 绘制等距垂直线.


如果愿意,可以将步骤1与步骤2反转.
:-D


If you like you may invert step 1 with step 2.
:-D


到目前为止,您写了什么?您遇到了什么问题?您尝试过什么解决这些问题?您从尝试自己解决问题中学到了什么?
What have you written so far? What problems have you encountered? What have you tried to solve those problems? What have you learned from trying to solve the problems yourself?


这篇关于C#xy坐标网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆