打印本文 打印本文 关闭窗口 关闭窗口
利用C#在SQL Server2000存取图像 For Window
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3578  更新时间:2007/11/14 11:06:26  文章录入:mintao  责任编辑:mintao
/   this.pictureBox1.Image.Save(this.saveFileDialog1.FileName);
//  }
//
//  private void menuItem2_Click(object sender, System.EventArgs e)
//  {
//   System.Drawing.Image img = this.pictureBox1.Image;
//   System.Drawing.Image.GetThumbnailImageAbort myCallback = new System.Drawing.Image.GetThumbnailImageAbort(ThumbnailCallback);
//
//   System.Drawing.Image img1 = img.GetThumbnailImage(System.Convert.ToInt32(img.Width*0.5),System.Convert.ToInt32(img.Height*0.5),myCallback,IntPtr.Zero);
//   this.pictureBox1.Image = img1;
//  }
//  public bool ThumbnailCallback()
//  {
//   return false;
//  }
//
//  private void menuItem3_Click(object sender, System.EventArgs e)
//  {
//   System.Drawing.Image img = this.pictureBox1.Image;
//   System.Drawing.Image.GetThumbnailImageAbort myCallback = new System.Drawing.Image.GetThumbnailImageAbort(ThumbnailCallback);
//
//   System.Drawing.Image img1 = img.GetThumbnailImage(System.Convert.ToInt32(img.Width*1.5),System.Convert.ToInt32(img.Height*1.5),myCallback,IntPtr.Zero);
//   this.pictureBox1.Image = img1;
//  }


 }
}

上一页  [1] [2] [3] 

打印本文 打印本文 关闭窗口 关闭窗口