错误看不懂怎么办? 只能看懂在第几行,看不懂错在哪,怎么办啊?错误 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 是不是你的sql语句的语法有错误点个断点看看就知道哪里错了这样谁也不知道哪里错误了没代码 public static int getPixelByGray(Bitmap bmp, int x, int y) { Color color = bmp.GetPixel(x, y); return color.R; //获得灰度 } public static int getPixelByGray(Bitmap bmp, int x, int y) { Color color = bmp.GetPixel(x, y); return color.R; //获得灰度 }看看你调用的实参是否正确 我传的bmp格式的图片啊我这个错误是在运行的时候弹出的,而不是编译错误。 public static int getPixelByGray(Bitmap bmp, int x, int y)调试这里的bmp 是否bmp格式 或者 null C# 子窗口中对主窗口的全局变量的修改,主窗口如何响应 gdi+的问题 请问在vs2005中如何导入using后面的内容,是使用快捷键,是什么键 关于ADO.NET2.0的简单问题 百分求c#图书 c#的一个问题。。求代码 用过DevExpress套件的DX请帮忙 c#2005 +access 开发程序过程发现这样一个问题,这个SQL语句为什么不能执行 SQL数据库自动定时备份 关于combobox绑定的问题 datagridview指定列排序 http get请求参数问题
{
Color color = bmp.GetPixel(x, y);
return color.R; //获得灰度
}
{
Color color = bmp.GetPixel(x, y);
return color.R; //获得灰度
}看看你调用的实参是否正确
我传的bmp格式的图片啊
我这个错误是在运行的时候弹出的,而不是编译错误。
public static int getPixelByGray(Bitmap bmp, int x, int y)调试这里的bmp 是否bmp格式 或者 null