Dim NewTab As New TabPage With NewTab Name = "some name" .Text = "some text" End With Dim myChat As New createcontrol() NewTab.Controls.Add(myChat) tabs.TabPages.Add(NewTab)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)