public string OnCommitFinished( IntPtr hParentWnd, string commonRoot, string[] pathList, string logMessage, int revision ) { // we now could use the selectedTickets member to find out which tickets // were assigned to this commit. CommitFinishedForm form = new CommitFinishedForm( selectedTickets ); if ( form.ShowDialog( ) != DialogResult.OK ) return ""; // just for testing, we return an error string return "an error happened while closing the issue"; }
public string OnCommitFinished(IntPtr hParentWnd, string commonRoot, string[] pathList, string logMessage, int revision) { // we now could use the selectedTickets member to find out which tickets // were assigned to this commit. CommitFinishedForm form = new CommitFinishedForm(selectedTickets); if (form.ShowDialog( ) != DialogResult.OK) { return(""); } // just for testing, we return an error string return("an error happened while closing the issue"); }