Control DefaultTabs() { var control = new TabControl(); LogEvents(control); var page = new TabPage { Text = "Tab 1" }; page.AddDockedControl(TabOne()); control.TabPages.Add(page); LogEvents(page); page = new TabPage { Text = "Tab 2", Image = Icon.FromResource("Eto.Test.TestIcon.ico") }; LogEvents(page); page.AddDockedControl(TabTwo()); control.TabPages.Add(page); page = new TabPage { Text = "Tab 3" }; LogEvents(page); control.TabPages.Add(page); return(control); }