展开全部
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;
using System.Diagnostics;
namespace Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
pictureBox1.ImageLocation = @e69da5e6ba9062616964757a686964616f31333330333564"C:\flower.jpg";
}
private void button1_Click(object sender, EventArgs e)
{
var path = pictureBox1.ImageLocation;
Process.Start("mspaint.exe", path);
}
}
}