Beispiel #1
0
        private void ButtonAddPhoto_Click(object sender, EventArgs e)
        {
            if (donnees.CurrentAlbumIsEmpty() || donnees.PathFolderIsEmpty())
            {
                return;
            }

            if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                foreach (String filename in openFileDialog.FileNames)
                {
                    AjoutPhoto(filename);
                }
                //RefreshListView();
            }
        }