private void BtnLoadSolutions_Click(object sender, EventArgs e)
{
try
{
using (BrowseSolutions browseSolutions = new BrowseSolutions(this.selectedtfsConnectionString.GenerateTFSUrl(), this.labelSearchCriteria))
{
if (browseSolutions.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
{
this.txtSolutionName.Text = Path.GetFileNameWithoutExtension(browseSolutions.SolutionName);
}
}
}
catch (ArgumentNullException exception)
{
exception.ShowUIException();
}
finally
{
this.BringToFront();
}
}