private void btnBrowse_Click(object sender, EventArgs e)
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "PDF Files(*.pdf)|*.pdf|All Files(*.*)|*.*";
DialogResult res = ofd.ShowDialog();
if (res == DialogResult.Cancel) return;
txtPDFFile.Text = ofd.FileName;
}