private void btnBrowseBoundaryShpFile_Click(object sender, EventArgs e) { if (ofdExportBoundaryShp.ShowDialog() == System.Windows.Forms.DialogResult.OK) { txtBoundaryShpFilePath.Text = ofdExportBoundaryShp.FileName; } }