I want to use 3rd part WPF component (Scheduler). It came
with C#
sample code and unfortunately, I'm not able to make it work
under PB
12.NET. I have a WPF window with CalendarView component on
it.

The sample code:

XAML
<s:CalendarView
s:AppointmentView.AppointmentChanged="CalendarAppointmentChanged">

OR from code:

calendarView1.AddHandler(DevComponents.WpfSchedule.AppointmentView.AppointmentChangedEvent
,
new
DevComponents.WpfSchedule.AppointmentChangedEventHandler(CalendarAppointmentChanged));

Event handler:

private void CalendarAppointmentChanged(object sender,
DevComponents.WpfSchedule.AppointmentChangedRoutedEventArgs
e)

{

DevComponents.WpfSchedule.AppointmentView view =
e.OriginalSource
as DevComponents.WpfSchedule.AppointmentView;

Console.WriteLine("Change Type: {0}, Appointment: {1}",
e.ChangeType, view.Subject);

}

Please help, thanks