//private string[] picturesPath; internal void choisPic(ArcheoCatalogAddNewPic archeoCatalogAddNewPic) { //throw new NotImplementedException(); //string fileDir = prgCtl.GetPicturesPath(); //openFileDialog1.InitialDirectory = fileDir; //openFileDialog1.Filter = "jpg files (*.jpg)|*.jpg|All files (*.*)|*.*"; //openFileDialog1.FilterIndex = 1; //openFileDialog1.RestoreDirectory = true; //if (openFileDialog1.ShowDialog() == DialogResult.OK) //{ // try // { // string imageLink = openFileDialog1.FileName; // Image image = Image.FromFile(imageLink); // pictureBox1.Image = image; // linkLabel1.Text = imageLink; // } // catch (Exception) // { // throw; // } //} }
internal void addNewPictureIntoList() { ArcheoCatalogAddNewPic archeoNewPic = new ArcheoCatalogAddNewPic(this); archeoNewPic.Show(); }