Esempio n. 1
0
 /// <summary>
 /// Scheduler appointment collection
 /// </summary>
 ////  creating SchedulerAppointment collection
 private void CreateSchedulerAppointments()
 {
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddHours(10), To = DateTime.Now.Date.AddHours(11), Color = new SolidColorBrush(Color.FromRgb(83, 99, 250)), ForegroundColor = Brushes.White, EventName = "Business Meeting", Notes = "Consulting firm laws with business advisers"
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(1).AddHours(11), To = DateTime.Now.Date.AddDays(1).AddHours(12), Color = new SolidColorBrush(Color.FromRgb(133, 81, 242)), ForegroundColor = Brushes.White, EventName = "Conference", Notes = "Attend 2nd international conference about WinRT Development"
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-2).AddHours(12), To = DateTime.Now.Date.AddDays(-2).AddHours(13), Color = new SolidColorBrush(Color.FromRgb(140, 245, 219)), ForegroundColor = new SolidColorBrush(Color.FromRgb(51, 51, 51)), EventName = "Medical check up", Notes = "Brooklyn medical university. Dental checkup"
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(3).AddHours(13), To = DateTime.Now.Date.AddDays(3).AddHours(14), Color = new SolidColorBrush(Color.FromRgb(83, 99, 250)), ForegroundColor = Brushes.White, EventName = "Performance Check", Notes = "Search for and enter performance notes."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-3).AddHours(14), To = DateTime.Now.Date.AddDays(-3).AddHours(15), Color = new SolidColorBrush(Color.FromRgb(45, 153, 255)), ForegroundColor = Brushes.White, EventName = "Consulting", Notes = "Executive summary."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(4).AddHours(15), To = DateTime.Now.Date.AddDays(4).AddHours(16), Color = new SolidColorBrush(Color.FromRgb(255, 222, 133)), ForegroundColor = new SolidColorBrush(Color.FromRgb(51, 51, 51)), EventName = "Project Status Discussion", Notes = "provides an opportunity to share information across the whole team."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(2).AddHours(14), To = DateTime.Now.Date.AddDays(2).AddHours(15), Color = new SolidColorBrush(Color.FromRgb(253, 183, 165)), ForegroundColor = new SolidColorBrush(Color.FromRgb(51, 51, 51)), EventName = "Client Meeting", Notes = "Way to understand their needs and how you can help support them."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-1).AddHours(12), To = DateTime.Now.Date.AddDays(-1).AddHours(13), Color = new SolidColorBrush(Color.FromRgb(198, 237, 115)), ForegroundColor = new SolidColorBrush(Color.FromRgb(51, 51, 51)), EventName = "General Meeting", Notes = "Meeting of all the shareholders of a company."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-5).AddHours(18), To = DateTime.Now.Date.AddDays(-5).AddHours(19), Color = new SolidColorBrush(Color.FromRgb(133, 81, 242)), ForegroundColor = Brushes.White, EventName = "Yoga Therapy", Notes = "Encourages the integration of mind, body, and spirit."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(6).AddHours(14), To = DateTime.Now.Date.AddDays(6).AddHours(15), Color = new SolidColorBrush(Color.FromRgb(253, 185, 222)), ForegroundColor = new SolidColorBrush(Color.FromRgb(51, 51, 51)), EventName = "GoToMeeting", Notes = "User to meet with other users, customers, clients or colleagues."
     });
 }
Esempio n. 2
0
 /// <summary>
 /// Scheduler appointment collection
 /// </summary>
 ////  creating SchedulerAppointment collection
 private void CreateSchedulerAppointments()
 {
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddHours(10), To = DateTime.Now.Date.AddHours(11), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFA2C139")), EventName = "Business Meeting", Notes = "Consulting firm laws with business advisers"
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(1).AddHours(11), To = DateTime.Now.Date.AddDays(1).AddHours(12), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF339933")), EventName = "Conference", Notes = "Attend 2nd international conference about WinRT Development"
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-2).AddHours(12), To = DateTime.Now.Date.AddDays(-2).AddHours(13), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF00ABA9")), EventName = "Medical check up", Notes = "Brooklyn medical university. Dental checkup"
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(3).AddHours(13), To = DateTime.Now.Date.AddDays(3).AddHours(14), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFD80073")), EventName = "Performance Check", Notes = "Search for and enter performance notes."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-3).AddHours(14), To = DateTime.Now.Date.AddDays(-3).AddHours(15), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF1BA1E2")), EventName = "Consulting", Notes = "Executive summary."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(4).AddHours(15), To = DateTime.Now.Date.AddDays(4).AddHours(16), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFE671B8")), EventName = "Project Status Discussion", Notes = "provides an opportunity to share information across the whole team."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(2).AddHours(14), To = DateTime.Now.Date.AddDays(2).AddHours(15), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFF09609")), EventName = "Client Meeting", Notes = "Way to understand their needs and how you can help support them."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-1).AddHours(12), To = DateTime.Now.Date.AddDays(-1).AddHours(13), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#4F67FF")), EventName = "General Meeting", Notes = "Meeting of all the shareholders of a company."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(-5).AddHours(18), To = DateTime.Now.Date.AddDays(-5).AddHours(19), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF339933")), EventName = "Yoga Therapy", Notes = "Encourages the integration of mind, body, and spirit."
     });
     SchedulerAppointmentCollection.Add(new SchedulerModel()
     {
         From = DateTime.Now.Date.AddDays(6).AddHours(14), To = DateTime.Now.Date.AddDays(6).AddHours(15), Color = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFD80073")), EventName = "GoToMeeting", Notes = "User to meet with other users, customers, clients or colleagues."
     });
 }