Scheduler control for Windows Forms Create rich Outlook style functionality and add rich scheduling interfaces to C# Windows application C# Localize Dialog Strings of KetticScheduler
KetticScheduler control for Windows Forms is capable of localizing Dialog strings of this control. With the localization support, the developers can create .NET Windows applications that can display text and messages in the dialog of KetticScheduler in a specific language and globally deliver the application. The following is the C# tutorial that shows how to access the dialog of KetticScheduler control and localize the dialog in a specific language. Localization of Strings for Custom Dialog in KetticScheduler in C#.NET
There is a built-in Localization Provider used for localizing the strings in KetticScheduler control for Windows Forms. In addition, we can create custom localization logic to implement a custom dialog. The KetticScheduler provides the LocalizeDialog method, included in KetticSchedulerDialog base C# class, to localize the dialog strings. The following C# code demonstrates how to implement the KetticSchedulerDialog base C# class by default. public class LocAppointmentEditForm : EditAppointmentDialog { protected override void LocalizeDialog(KetticSchedulerLocalizationProvider localizationProvider) { this.Text = localizationProvider.GetLocalizedString(KetticSchedulerStringId.AppointmentDialogTitle); this.labelSubject.Text = localizationProvider.GetLocalizedString(KetticSchedulerStringId.AppointmentDialogSubject); this.labelStatus.Text = localizationProvider.GetLocalizedString(KetticSchedulerStringId.AppointmentDialogStatus); this.buttonOK.Text = localizationProvider.GetLocalizedString(KetticSchedulerStringId.AppointmentDialogOK); this.buttonCancel.Text = localizationProvider.GetLocalizedString(KetticSchedulerStringId.AppointmentDialogCancel); this.buttonRecurrence.Text = localizationProvider.GetLocalizedString(KetticSchedulerStringId.AppointmentDialogRecurrence); } }
|