摘要: //以下代码添加到任一窗口下即可 private int 旋转角度 = 0; private int 边长 = 10; protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); DrawSensor(e.Graphics, new Point(200, 200), 旋转角度, 边长); } /// /// 应力传感器代码,其他类型自己修改字符串值 /// /// /// 三角形顶点坐标 /// 旋转角度(顺时针正,逆时针负) /// 边长 private void DrawSensor(Graphics g,... 阅读全文
posted @ 2013-09-10 09:23 teyond 阅读(708) 评论(0) 推荐(0) 编辑