Example #1
0
        private void OnDeleteBranch(object sender, BranchDeleteArgs e)
        {
            _deleteView.Hide();

            try
            {
                Provider.DeleteBranch(e.BranchName);
            }
            catch (SourceControlException ex)
            {
                RaiseActionFailedEvent(ex);
            }

            RefreshView();
        }
        private void OnDeleteBranch(object sender, BranchDeleteArgs e)
        {
            _deleteView.Hide();

            try
            {
                Provider.DeleteBranch(e.BranchName);
            }
            catch (SourceControlException ex)
            {
                RaiseActionFailedEvent(ex);
            }

            RefreshView();
        }
Example #3
0
 private void OnDeleteViewSelectionChanged(object sender, BranchDeleteArgs e)
 {
     _deleteView.OkButtonEnabled = e.BranchName != _view.Current;
 }
 private void OnDeleteViewSelectionChanged(object sender, BranchDeleteArgs e)
 {
     _deleteView.OkButtonEnabled = e.BranchName != _view.Current;
 }