Private Sub EnableMonthSelection(ByVal enable As Boolean) If (Me.ultraMonthViewMulti1.AllowMonthSelection <> enable) Then Me.ultraMonthViewMulti1.AllowMonthSelection = enable End If End Sub
private void EnableMonthSelection( bool enable ) { if ( this.ultraMonthViewMulti1.AllowMonthSelection != enable ) this.ultraMonthViewMulti1.AllowMonthSelection = enable; }