I would write this in VB like this
Dim ToolDay As StateButtonTool = Me.ultraToolbarsManager1.Tools("Day")
ToolDay.Checked = True
How would you write it in C#?
I tried
ToolDay.Checked = true;
It does not like the Tools I get a red line
Error 19 Non-invocable member 'Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.Tools' cannot be used like a method.
try this