private void button1_Click(object sender, EventArgs e) { step3 s3 = new step3(tmfile); s3.Show(); this.Close(); }
private void button2_Click(object sender, EventArgs e) { if (pictureBox1.Image != null) { //step2 s2 = new step2(tempfile); //s2.Show(); step3 s3 = new step3(tempfile); s3.Show(); this.Close(); } else { MessageBox.Show("请先选择图片"); } }