Beispiel #1
0
 private void mnuLostObjectsCreateTag_Click(object sender, EventArgs e)
 {
     using (var frm = new FormCreateTagAtRevision(UICommands, GetCurrentGitRevision()))
     {
         var dialogResult = frm.ShowDialog(this);
         if (dialogResult == DialogResult.OK)
             UpdateLostObjects();
     }
 }
Beispiel #2
0
        private void CreateTagToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRow || LastRow < 0)
                return;

            using (var frm = new FormCreateTagAtRevision(UICommands, GetRevision(LastRow)))
            {
                if (frm.ShowDialog(this) == DialogResult.OK)
                {
                    RefreshRevisions();
                }
            }
        }