//extern alias scheduleView;
extern alias scheduler;    //should match the alias provided in the compiler options
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Collections.ObjectModel;
using Telerik.Windows.Controls.ScheduleView;
using System;
//using System.Windows.Shapes;


namespace WpfApplication12
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : Window
	{
		public MainWindow()
		{
			InitializeComponent();
			test.AppointmentEditing += this.RadScheduler_AppointmentEditing;
			scheduleView1.AppointmentsSource = new ObservableCollection<Appointment>(){new Appointment(){Start=DateTime.Now,End =DateTime.Now.AddDays(1)}};
		}

		private void RadScheduleView_AppointmentEditing(object sender, Telerik.Windows.Controls.AppointmentEditingEventArgs e)
		{

		}

		private void RadScheduler_AppointmentEditing(object sender, scheduler.Telerik.Windows.Controls.AppointmentEditingEventArgs e)
		{

		}
	}
}
