public void AddPage(Guid guid, UITabControl page) { TabPage tabPage = CreateTabIfNotExists(guid); tabPage.Controls.Add(page); page.Dock = DockStyle.Fill; page.Show(); }
public void AddPage(int index, UITabControl page) { TabPage tabPage = CreateTabIfNotExists(index); tabPage.Controls.Add(page); page.Dock = DockStyle.Fill; page.Show(); }