说明:本文以在chart控件上和窗体上画矩形为例子讲述了C# GDI在控件上绘图的方法。分享给大家供大家参考。具体方法如下:
具体的实现方法就不多解释了,备注很详细,代码也很简单。
主要功能代码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.T <weixin_38628926> 在 上传 | 大小:45056