static void Main() { Application.EnableVisualStyles(); Application.DoEvents(); Application.Run(... }
OpenFileDialog open = new OpenFileDialog(); open.Multiselect = true; if ( open.ShowDialog() == DialogResult.OK ) { string fichiers = string.Empty; foreach ( string fichier in open.FileNames ) { fichiers += fichier +"\r\n"; } MessageBox.Show(fichiers); }