private void btnDst_Click(object sender, EventArgs e) { if (dlgSelFile.ShowDialog() == DialogResult.OK) { dstImage = dlgSelFile.FileName; dst = new frmDest(); dst.Show(); dst.SetImage(dstImage, src.imageRegionSel); } }