Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

VS 2010 Need help with a probably simple error im new to this

$
0
0
im really new at this so sorry if its stupid but when I run this code it comes up with the error operator "=" is not defined for types system.windows.forms.labels and integer can you tell me whats wrong an how to fix it?


Public Sub timeleftcolorchanger() Handles TimeLabel.BackColorChanged
If TimeLabel = 5 Then
TimeLabel.BackColor = Color.Red
Else

End If : TimeLabel.BackColor = Color.White



End Sub

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>