private void button1_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.CheckFileExists = true; openFileDialog.AddExtension = true; openFileDialog.Multiselect = true; openFileDialog.Filter = "*.pdf"; DialogResult result = openFileDialog.ShowDialog(); if (result == DialogResult.OK) { string[] files = openFileDialog.FileNames; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)