コード例 #1
0
        private TabbedTortoiseGitForm CreateNewTabbedTortoiseGit(bool showStartUpRepos, bool skipUpdateCheck, Point?createdAtPoint)
        {
            TabbedTortoiseGitForm form = new TabbedTortoiseGitForm(showStartUpRepos, skipUpdateCheck, createdAtPoint);

            form.FormClosed += TabbedTortoiseGitForm_FormClosed;
            form.Activated  += TabbedTortoiseGitForm_Activated;

            _forms.Add(form);
            _activeForm = form;
            form.Show();

            return(form);
        }
コード例 #2
0
        public void CreateNewFromTab(Tab tab, Point location)
        {
            TabbedTortoiseGitForm form = CreateNewTabbedTortoiseGit(false, true, location);

            form.AddExistingTab(tab);
        }