windows mobile c#图像处理保存出错问题
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
/////////////////////////////////////////////出错部分的代码/////////////////////
private void menuItem4_Click(object sender, EventArgs e)
{
string str, str1;
Bitmap box1 = new Bitmap(pictureBox1.Image);
Graphics g = this.CreateGraphics();
saveFileDialog1.Filter = "JPeg Image|*.jpg|Bitmap Image|*.bmp|Gif Image|*.gif";
saveFileDialog1.ShowDialog();
str = saveFileDialog1.FileName;
pictureBox1.Image.Save(str);
}
/////////////////////////////////////////////出错部分的代码/////////////////////
提示错误:
错误 1 “Save”方法没有采用“1”个参数的重载
使用的平台是visual studio2008 ,windows mobile 6.0 sdk
程序功能是:实现对处理图片的保存;
该代码段在WINDOWS 窗体中可以正常运行,但搬到智能设备则出现以上问题,觉得很奇怪,希望各位师傅能给小弟指点指点,或者提供其他的方法,不胜感激!