public void RegisterPage(LoggerTabPage page, string name, Image image, bool enabled) { PageButton button = new PageButton(page, name, enabled, image); mainTabFlowLayoutPanel.Controls.Add(button); }