- #region SavePicProfile
- const string new_dir = @"E:\x\ProfilePIC\";
-
- string extension = System.IO.Path.GetExtension(openFDProfile.FileName);
-
- string renamed_name = ID_Member_ + "" + extension;
-
- string fName = System.IO.Path.Combine(new_dir, renamed_name);
- if (File.Exists(fName))
- File.Delete(fName);
- System.IO.File.Copy(openFDProfile.FileName, fName);
- string msg = string.Format("Copied {0} to {1}", openFDProfile.FileName, fName);
-
- #endregion
System.IO.File.Copy(openFDProfile.FileName, fName); Additional information: Could not find file 'openFileDialog1'.
in PicImage_Regisrt_Click