怎么画一个像素 我想在窗体上画一个点(一个像素),可是Graphics类里没有提供画点的函数,请问我应该怎么做? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 除了是用API,目前想到的是用1像素的位图实现private void Form1_Paint(object sender, PaintEventArgs e){ Bitmap vBitmap = new Bitmap(1, 1); vBitmap.SetPixel(0, 0, Color.Red); e.Graphics.DrawImage(vBitmap, new Point(10, 10));} C#中已知成员,如何实例化对象 excel 插入艺术字 设置格式 位置 离开当前方法之前必须对out 参数赋值?怎么回事?急死了 C#写的 crc16校验方法 高手请进,数据库全文索引问题…… 已经注册了X.dll”,但没有找到DllRegisterServer输入点,无法注册这个文件 问一个VS2005中datalist的问题。。 c# 中WebBrowser(IE内核浏览器)加载第三方BHO解决方案 datagrid问题 关于字符串编码的问题!!!! 帮我看看...绑定问题?? 如何在 DataGridView 中插入新行?
{
Bitmap vBitmap = new Bitmap(1, 1);
vBitmap.SetPixel(0, 0, Color.Red);
e.Graphics.DrawImage(vBitmap, new Point(10, 10));
}