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); }
public void CreateNewFromTab(Tab tab, Point location) { TabbedTortoiseGitForm form = CreateNewTabbedTortoiseGit(false, true, location); form.AddExistingTab(tab); }