我需要将一个dll文件放入我的项目中,我的笔记说只需将dll拖入工具箱但它似乎不起作用.
我该怎么做呢?
谢谢.
我有一个绘制多边形的方法,然后将该多边形向右旋转90度,使其原始顶点现在指向右侧.
这是绘制多边形(三角形)的代码,但是我怎么会失去如何旋转它.
Point[] points = new Point[3];
points[0] = new Point((int)top, (int)top);
points[1] = new Point((int)top - WIDTH / 2, (int)top + HEIGHT);
points[2] = new Point((int)top + WIDTH / 2, (int)top + HEIGHT);
paper.FillPolygon(normalBrush, points);
Run Code Online (Sandbox Code Playgroud)
提前致谢.