MadCow.EditRepository.ApplyRepository C# (CSharp) Method

ApplyRepository() private method

private ApplyRepository ( ) : void
return void
        private void ApplyRepository()
        {
            if(_suppliedRepository != null)
            {
                repositoryTextBox.Text = _suppliedRepository.Url.AbsoluteUri;
                var branches = FindBranch.FindBrach(_suppliedRepository.Url.AbsoluteUri);
                if(branches != null)
                {
                    branchComboBox.Items.AddRange(branches);
                    branchComboBox.SelectedIndex = 0;
                    okButton.Enabled = !string.IsNullOrEmpty(branchComboBox.SelectedItem.ToString());
                }
            }
        }