C#
if (s is MyPanelStyle) {
....
}
I thought this would work but it is not...
If s is MyStyles.Button Then
....
End If
....but I get a blue squiggly 'Button' is type in 'MyStyles' and cannot be
used as an expression.
...
more >>
public MyPanelStyle(StateBag bag) : base(bag) {
}
These do NOT work, what I think the conversion should be...
Sub New(ByVal bag As StateBag)
Inherits CType(bag, base)
End Sub
However, I get a blue squiggly under Inherits "Statement is...
more >>
Good afternoon all.
I am creating a usercontrol (*.ascx) with a Calendar control on it.
In the Calendar's DayRender event I'm dynamically adding ImageButton
controls to cells on the calendar. For each of these image button I'm
hooking up a click event as so:
imgButton.Click += new ImageClic...
more >>