需要帮助: vb.net 项目类型是 WindowCE5.0 中的问题
我想在一个按钮中响应以下事件
Dim image1 As Bitmap
image1 = New Bitmap( _
"D:\cpit-Ella-Green feel UI\setting\setting 输出\h004-234,40-304,132-vol-dim.bmp ", _
True)
Dim x, y As Integer
For x = 0 To image1.Width - 1
For y = 0 To image1.Height - 1
Dim pixelColor As Color = image1.GetPixel(x, y)
Dim newColor As Color = _
Color.FromArgb(pixelColor.R, 0, 0)
image1.SetPixel(x, y, newColor)
Next
Next
PictureBox1.Image = image1
但是模拟运行的时候出错,图片也显示不出来,我觉得问题可能出现在加载图片上
image1 = New Bitmap( _
"D:\cpit-Ella-Green feel UI\setting\setting 输出\h004-234,40-304,132-vol-dim.bmp ", _
True)
我想把这个图片;路径 改成系统所在的相对路径,该怎么做
------解决方案--------------------QQ群:323373
------解决方案--------------------jf up 学习