GitUI.CommandsDialogs.FormBrowse.RevisionInfo_CommandClick C# (CSharp) Méthode

RevisionInfo_CommandClick() private méthode

private RevisionInfo_CommandClick ( object sender, CommitInfo e ) : void
sender object
e CommitInfo
Résultat void
        private void RevisionInfo_CommandClick(object sender, CommitInfo.CommandEventArgs e)
        {
            if (e.Command == "gotocommit")
            {
                RevisionGrid.SetSelectedRevision(new GitRevision(Module, e.Data));
            }
            else if (e.Command == "gotobranch" || e.Command == "gototag")
            {
                string error = "";
                CommitData commit = CommitData.GetCommitData(Module, e.Data, ref error);
                if (commit != null)
                    RevisionGrid.SetSelectedRevision(new GitRevision(Module, commit.Guid));
            }
            else if (e.Command == "navigatebackward")
            {
                RevisionGrid.NavigateBackward();
            }
            else if (e.Command == "navigateforward")
            {
                RevisionGrid.NavigateForward();
            }
        }
FormBrowse