private void OnCreateBranch(object sender, BranchCreateArgs e) { HideCreateBranchView(); try { this.Provider.CreateBranch(e.BranchName); } catch (SourceControlException ex) { RaiseActionFailedEvent(ex); } RefreshView(); }