求大神指导
怎么把上面变得图用保存按钮保存下来
private void smallButton_Click(object sender, EventArgs e)
{
Graphics g = pictureBox2.CreateGraphics();
g.Clear(pictureBox2.BackColor);
pictureBox2.Image = pictureBox1.Image;
Bitmap bm = new Bitmap(pictureBox1.Image);
bm = new Bitmap(bm, 200, 100);
g.DrawImage(bm, pictureBox2.ClientRectangle, 0, 0, bm.Width, bm.Height, GraphicsUnit.Pixel);
g.Dispose();
bm.Save("d:/1.jpg");
}
// public void SetResolution (float 300Dpi,float 200Dpi);
private void saveButton_Click(object sender, EventArgs e)
{
}