private void ConnectDestinationProjectButton_Click() { TeamProjectPicker tpp = new TeamProjectPicker(TeamProjectPickerMode.SingleProject, false); System.Windows.Forms.DialogResult result = tpp.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { TargetProject = new TfsProject(tpp.SelectedTeamProjectCollection, tpp.SelectedProjects[0].Name); RaisePropertyChanged("TargetProject"); FieldMapping.Refresh(); UserMapping.Refresh(); } }