private void BTN_BrowseFiles_Click(object sender, EventArgs e)
{
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.AddExtension = true;
openFileDialog.Filter = "Word Processing Documents|*.doc;*.docx;*.dot;*.docm;*.dotx;*.dotm;*.rtf;*.odt;*.ott|All Files (*.*)|*.*";
openFileDialog.Multiselect = true;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
InputFiles.Clear();
string[] FileNames = openFileDialog.FileNames;
foreach (string FileName in FileNames)
InputFiles.Add(FileName);
BTN_Clean.Enabled = true;
LBL_Total.Text = InputFiles.Count.ToString();
}
else
BTN_Clean.Enabled = false;
}