cb.Name = fmsrs.item("seatname") For Each c As Control In Me.Controls If TypeOf c Is Label Then If cb.Name = c.Name Then p = p + 1 ' c.Text = fmsrs.item("seattext") c.Enabled = False c.Font = New System.Drawing.Font("Times New Roman", 7.5!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) c.ForeColor = Color.Yellow Else End If End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)