Inheritance: GitModuleForm
 private void mnuLostObjectsCreateTag_Click(object sender, EventArgs e)
 {
     using (var frm = new FormCreateTag(UICommands, GetCurrentGitRevision()))
     {
         var dialogResult = frm.ShowDialog(this);
         if (dialogResult == DialogResult.OK)
             UpdateLostObjects();
     }
 }
Exemple #2
0
 private void mnuLostObjectsCreateTag_Click(object sender, EventArgs e)
 {
     using (var frm = new FormCreateTag(UICommands, GetCurrentGitRevision()))
     {
         var dialogResult = frm.ShowDialog(this);
         if (dialogResult == DialogResult.OK)
         {
             UpdateLostObjects();
         }
     }
 }
Exemple #3
0
        public bool StartCreateTagDialog(IWin32Window owner)
        {
            Func<bool> action = () =>
            {
                using (var form = new FormCreateTag(this, null))
                {
                    return form.ShowDialog(owner) == DialogResult.OK;
                }
            };

            return DoActionOnRepo(owner, true, true, PreCreateTag, PostCreateTag, action);
        }
        private void CreateTagToolStripMenuItemClick(object sender, EventArgs e)
        {
            if (Revisions.RowCount <= LastRowIndex || LastRowIndex < 0)
                return;

            using (var frm = new FormCreateTag(UICommands, GetRevision(LastRowIndex)))
            {
                if (frm.ShowDialog(this) == DialogResult.OK)
                {
                    RefreshRevisions();
                }
            }
        }
        public bool StartCreateTagDialog(IWin32Window owner)
        {
            Func<bool> action = () =>
            {
                using (var form = new FormCreateTag(this))
                    form.ShowDialog(owner);

                return true;
            };

            return DoActionOnRepo(owner, true, false, PreCreateTag, PostCreateTag, action);
        }