TabStrip
SubsTabControl.TabPages.Add(New TabPage() With {.Text = s.Id, .Tag = s})
Tag
null
GenerateTabs
GenerateTabs() If (SubsTabControl.TabCount > 0) Then With SubsTabControl.SelectedTab Dim tab = SubsTabControl.TabPages.Item(SubsTabControl.SelectedIndex) Dim subProcess As SubProcess = DirectCast(.Tag, SubProcess) .Controls.Clear() .Controls.Add(GridControl) GridControl.ProcessDesc = subProcess.Process.Desc GridControl.SubId = subProcess.Id End With End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)