tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)". How can I trnslate this line into telerikPublic Partial Class Form1Inherits FormPrivate tbs As TextBox()Public Sub New()InitializeComponent()tbs = New TextBox() {textBox1, textBox2, textBox3}For i As Integer = 0 To tbs.Length - 1tbs(i).Tag = itbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)Nexttbs(0).Focus()End SubPrivate Sub textBoxes_KeyDown(sender As Object, e As KeyEventArgs)Dim tb As TextBox = TryCast(sender, TextBox)If tb IsNot Nothing ThenIf e.KeyCode = Keys.Enter ThenDim tag As Integer = CInt(tb.Tag)If tag = 2 Thentbs(0).Focus()Elsetbs(tag + 1).Focus()End IfEnd IfEnd IfEnd SubEnd ClassHi
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