一、打开图片ps:必须先在pictureBox中导入一张图片privatevoidbutton4_Click(objectsender,EventArgse)//选择、更换图片{if(openFileDialog1.ShowDialog()==DialogResult.OK)//需要工具箱的openFileDialog{Text=openFileDialog1.FileName;//选择图片Bitmapmap=(Bitmap)Image.FromFile(openFileDialog1...
查看全文