tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)
". How can I trnslate this line into telerikPublic Partial Class Form1
Inherits Form
Private tbs As TextBox()
Public Sub New()
InitializeComponent()
tbs = New TextBox() {textBox1, textBox2, textBox3}
For i As Integer = 0 To tbs.Length - 1
tbs(i).Tag = i
tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)
Next
tbs(0).Focus()
End Sub
Private Sub textBoxes_KeyDown(sender As Object, e As KeyEventArgs)
Dim tb As TextBox = TryCast(sender, TextBox)
If tb IsNot Nothing Then
If e.KeyCode = Keys.Enter Then
Dim tag As Integer = CInt(tb.Tag)
If tag = 2 Then
tbs(0).Focus()
Else
tbs(tag + 1).Focus()
End If
End If
End If
End Sub
End Class
Hi
I'm using radscheduler in a planning system to assign employees, workplaces and other resources to orders and tasks.
The logic respects working hours (including breaktime,blocktime, flextime, standbytime...), absences (illness, vacation, civil work, school...) and constraints (Skills,location...). The job/task-duration can be anything from 0.5 hours to hundreds of Hours.
Because my Businesslogic generates multiple assignments based on planning rules (FIFO,COST Based, Capacity Utilization,Troughput-Time,...) and available timeslots per resource it's not possible to go with one of the existing RecurrenceRule (MinutelyRecurrenceRule, HourlyRecurrenceRule, DailyRecurrenceRule, WeeklyRecurrenceRule, MonthlyRecurrenceRule, YearlyRecurrenceRule)
Therefore my Feature request for Telerik is to add support for "multiple Recurrence Rules" or to add a new "CustomRecurrenceRule" which allow to add multiple Occurences.
//Inclusion Rule"-Sample
radScheduler1.Appointments[0].RecurrenceRule = new CustomRecurrenceRule(StartDateTime,EndDateTime );
radScheduler1.Appointments[0].Occurrences.Add(new IEventOccurence(fromDateTime,UntilDateTime,...);
//Multiple Rules Sample
RadScheduler1.Appointments(0).RecurrenceRules.add(New SingleRecurrenceRule(EventStartDateTime,EventEndDateTime);
I think this Feature would bee usefull to others as well! If there is another way to accomplish my requirement, please let me know.
Thanks.
Daniel K