// <summary>
        /// Populate data in the fields with the existing ScheduleSlot
        /// set the (ScheduleSlot) current as the current scheduleslot
        /// </summary>
        /// <param name = "ss" >A Schedule slot already existing to get the data</param>
        /// <param name="scheduler">Scheduler to add schedule slot event</param>
        public AddSlotScheduleWindow(Event ss, WpfScheduler.Scheduler scheduler)
        {
            InitializeComponent();
            this.scheduler = scheduler;

            foreach (DayOfWeek day in Enum.GetValues(typeof(DayOfWeek)))
            {
                cbDayOfWeekSlot.Items.Add(DateTimeFormatInfo.CurrentInfo.GetDayName(day));
            }
            cbDayOfWeekSlot.SelectedIndex = ss.DayOfWeek;
            cbStartHourHourSlot.Text      = ss.Start.ToString("HH");
            cbStartHourMinuteSlot.Text    = ss.Start.ToString("mm");
            cbEndHourHourSlot.Text        = ss.End.ToString("HH");
            cbEndHourMinuteSlot.Text      = ss.End.ToString("mm");
            cbAttendencySlot.Text         = ss.MinAttendency.ToString();
            dpFirstDay.SelectedDate       = ss.FirstDay;
            dpLastDay.SelectedDate        = ss.LastDay;

            this.current = ss;
            //Mise à 0 des heures
            current.Start = current.Start.AddHours(-current.Start.Hour);
            current.Start = current.Start.AddMinutes(-current.Start.Minute);
            current.End   = current.End.AddHours(-current.End.Hour);
            current.End   = current.End.AddMinutes(-current.End.Minute);

            idBckCurrent = ss.Id;
            modified     = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Step1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.btnview = ((System.Windows.Controls.Button)(target));

            #line 158 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnview.Click += new System.Windows.RoutedEventHandler(this.btnview_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnedit = ((System.Windows.Controls.Button)(target));

            #line 171 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnedit.Click += new System.Windows.RoutedEventHandler(this.btnedit_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnfind = ((System.Windows.Controls.Button)(target));

            #line 184 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnfind.Click += new System.Windows.RoutedEventHandler(this.btnfind_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ViewGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.btncalbyday = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btncalbyday.Click += new System.Windows.RoutedEventHandler(this.btncalbyday_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.txtDateOfDayIcon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.btncalbyweek = ((System.Windows.Controls.Button)(target));

            #line 212 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btncalbyweek.Click += new System.Windows.RoutedEventHandler(this.btncalbyweek_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btncalbymonth = ((System.Windows.Controls.Button)(target));

            #line 223 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btncalbymonth.Click += new System.Windows.RoutedEventHandler(this.btncalbymonth_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnbacktostep1 = ((System.Windows.Controls.Button)(target));

            #line 234 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnbacktostep1.Click += new System.Windows.RoutedEventHandler(this.btnbacktostep1_Click_1);

            #line default
            #line hidden
                return;

            case 11:
                this.SearchGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.txtbsearchevent = ((System.Windows.Controls.TextBox)(target));

            #line 242 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.txtbsearchevent.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtbsearchevent_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.btnpreviousevent = ((System.Windows.Controls.Button)(target));

            #line 243 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnpreviousevent.Click += new System.Windows.RoutedEventHandler(this.btnpreviousevent_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnnextevent = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnnextevent.Click += new System.Windows.RoutedEventHandler(this.btnnextevent_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.EventList = ((System.Windows.Controls.ListView)(target));
                return;

            case 16:
                this.CalendarGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.scheduler = ((WpfScheduler.Scheduler)(target));
                return;

            case 18:
                this.btnbacktostep2 = ((System.Windows.Controls.Button)(target));

            #line 268 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnbacktostep2.Click += new System.Windows.RoutedEventHandler(this.btnbacktostep2_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.EditGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.btnAddNewEvent = ((System.Windows.Controls.Button)(target));

            #line 276 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnAddNewEvent.Click += new System.Windows.RoutedEventHandler(this.btnAddNewEvent_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnEditEvent = ((System.Windows.Controls.Button)(target));
                return;

            case 22:
                this.btnViewEventHistory = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.btnbacktostep1a = ((System.Windows.Controls.Button)(target));

            #line 279 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnbacktostep1a.Click += new System.Windows.RoutedEventHandler(this.btnbacktostep1a_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.AddEventGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.dtDay = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 26:
                this.tpHour = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 27:
                this.txtbLastName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.txtbkeyword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.DtBorn = ((CMWPF.UserControls.CalendarCmbUC)(target));
                return;

            case 30:
                this.rbYes = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 31:
                this.rbNo = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 32:
                this.btnSaveNewEvent = ((System.Windows.Controls.Button)(target));

            #line 335 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnSaveNewEvent.Click += new System.Windows.RoutedEventHandler(this.btnSaveNewEvent_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.colorPicker = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 34:
                this.txtbLastName1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.cmbduring = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 36:
                this.btnbackto = ((System.Windows.Controls.Button)(target));

            #line 381 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnbackto.Click += new System.Windows.RoutedEventHandler(this.btnbackto_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.ConfirmEventPopup = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.txtEvent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.txtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.txtHour = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.ChooseStep = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:
                this.btnDeclineStep = ((System.Windows.Controls.Button)(target));

            #line 416 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnDeclineStep.Click += new System.Windows.RoutedEventHandler(this.btnDeclineStep_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.btnAcceptStep = ((System.Windows.Controls.Button)(target));

            #line 417 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnAcceptStep.Click += new System.Windows.RoutedEventHandler(this.btnAcceptStep_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.ConfirmStep = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.btnDeclineEvent = ((System.Windows.Controls.Button)(target));

            #line 424 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnDeclineEvent.Click += new System.Windows.RoutedEventHandler(this.btnDeclineEvent_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.btnAcceptEvent = ((System.Windows.Controls.Button)(target));

            #line 425 "..\..\..\UserControls\MySchedulerUC.xaml"
                this.btnAcceptEvent.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.scheduler = ((WpfScheduler.Scheduler)(target));
     
     #line 11 "..\..\..\Agenda\AgendaWindow.xaml"
     this.scheduler.OnScheduleContextMenuEvent += new System.EventHandler<WpfScheduler.Event>(this.scheduler_OnScheduleContextMenuEvent);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\Agenda\AgendaWindow.xaml"
     this.scheduler.OnScheduleAddEvent += new System.EventHandler<System.DateTime>(this.scheduler_OnScheduleAddEvent);
     
     #line default
     #line hidden
     
     #line 13 "..\..\..\Agenda\AgendaWindow.xaml"
     this.scheduler.OnEventMouseLeftButtonDown += new System.EventHandler<WpfScheduler.Event>(this.scheduler_OnEventMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.calendar = ((System.Windows.Controls.Calendar)(target));
     
     #line 14 "..\..\..\Agenda\AgendaWindow.xaml"
     this.calendar.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.gbFilterEvents = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 4:
     this.lblCanceledEvents = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.chkCanceledEvents = ((System.Windows.Controls.CheckBox)(target));
     
     #line 19 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkCanceledEvents.Checked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     
     #line 19 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkCanceledEvents.Unchecked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.lblExceptionEvents = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.chkExceptionEvents = ((System.Windows.Controls.CheckBox)(target));
     
     #line 21 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkExceptionEvents.Checked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     
     #line 21 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkExceptionEvents.Unchecked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.lblPatientSkipsEvents = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.chkPatientSkipsEvents = ((System.Windows.Controls.CheckBox)(target));
     
     #line 23 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkPatientSkipsEvents.Checked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     
     #line 23 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkPatientSkipsEvents.Unchecked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     return;
     case 10:
     this.lblCompletedEvents = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.chkCompletedEvents = ((System.Windows.Controls.CheckBox)(target));
     
     #line 25 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkCompletedEvents.Checked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     
     #line 25 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkCompletedEvents.Unchecked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lblNotCompletedEvents = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.chkPendingEvents = ((System.Windows.Controls.CheckBox)(target));
     
     #line 27 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkPendingEvents.Checked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     
     #line 27 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkPendingEvents.Unchecked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     return;
     case 14:
     this.cpCanceledEvents = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 28 "..\..\..\Agenda\AgendaWindow.xaml"
     this.cpCanceledEvents.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.cpStatusEvents_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.cpExceptionEvents = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 29 "..\..\..\Agenda\AgendaWindow.xaml"
     this.cpExceptionEvents.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.cpStatusEvents_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.cpPatientSkipsEvents = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 30 "..\..\..\Agenda\AgendaWindow.xaml"
     this.cpPatientSkipsEvents.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.cpStatusEvents_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.cpPendingEvents = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 31 "..\..\..\Agenda\AgendaWindow.xaml"
     this.cpPendingEvents.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.cpStatusEvents_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.cpCompletedEvents = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 32 "..\..\..\Agenda\AgendaWindow.xaml"
     this.cpCompletedEvents.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.cpStatusEvents_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.lblCompletedEvents_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.chkConfirmedEvents = ((System.Windows.Controls.CheckBox)(target));
     
     #line 34 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkConfirmedEvents.Checked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\Agenda\AgendaWindow.xaml"
     this.chkConfirmedEvents.Unchecked += new System.Windows.RoutedEventHandler(this.filterEvents_CheckedUnchecked);
     
     #line default
     #line hidden
     return;
     case 21:
     this.cpConfirmedEvents = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 35 "..\..\..\Agenda\AgendaWindow.xaml"
     this.cpConfirmedEvents.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.cpStatusEvents_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.gbPacientInfo = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 23:
     this.svPacientInfo = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 24:
     this.gridPacientInfo = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.lblExpNoCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.lblExpNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.lblCellPhoneCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.lblCellPhone = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 29:
     this.lblHomePhoneCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.lblHomePhone = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.lblEmailCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.lblEmail = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.lblPacientNameCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.lblPacientName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 35:
     this.gbEventInfo = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 36:
     this.svEventInfo = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 37:
     this.gridEventInfo = ((System.Windows.Controls.Grid)(target));
     return;
     case 38:
     this.lblEventStartTimeCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.lblEventStartTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 40:
     this.lblEventEndTimeCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 41:
     this.lblEventEndTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 42:
     this.lblEventStatusCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 43:
     this.lblEventStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 44:
     this.lblEventCapturerCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 45:
     this.lblEventCapturer = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 46:
     this.lblEventIdCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 47:
     this.lblEventId = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 48:
     this.lblEventEndTimeCaption_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 49:
     this.lblNextEvent = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 50:
     this.btnToday = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\..\Agenda\AgendaWindow.xaml"
     this.btnToday.Click += new System.Windows.RoutedEventHandler(this.btnToday_Click);
     
     #line default
     #line hidden
     return;
     case 51:
     this.lblLoggedInCaption = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.lblLoggedIn = ((System.Windows.Controls.Label)(target));
     return;
     case 53:
     this.lblUpdateClinicHistoryMessage = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PlanningJour = ((WpfScheduler.Scheduler)(target));

            #line 190 "..\..\planning.xaml"
                this.PlanningJour.Loaded += new System.Windows.RoutedEventHandler(this.scheduler1_Loaded);

            #line default
            #line hidden

            #line 191 "..\..\planning.xaml"
                this.PlanningJour.OnEventDoubleClick += new System.EventHandler <WpfScheduler.Event>(this.Planjour_OnEventDoubleClick);

            #line default
            #line hidden

            #line 192 "..\..\planning.xaml"
                this.PlanningJour.OnScheduleDoubleClick += new System.EventHandler <System.DateTime>(this.scheduler1_OnScheduleDoubleClick);

            #line default
            #line hidden
                return;

            case 2:

            #line 195 "..\..\planning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrevDay);

            #line default
            #line hidden
                return;

            case 3:

            #line 198 "..\..\planning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NextDay);

            #line default
            #line hidden
                return;

            case 4:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.PlanningSemaine = ((WpfScheduler.Scheduler)(target));

            #line 216 "..\..\planning.xaml"
                this.PlanningSemaine.Loaded += new System.Windows.RoutedEventHandler(this.scheduler2_Loaded);

            #line default
            #line hidden

            #line 218 "..\..\planning.xaml"
                this.PlanningSemaine.OnEventDoubleClick += new System.EventHandler <WpfScheduler.Event>(this.PlanSemaine_OnEventDoubleClick);

            #line default
            #line hidden

            #line 219 "..\..\planning.xaml"
                this.PlanningSemaine.OnScheduleDoubleClick += new System.EventHandler <System.DateTime>(this.scheduler1_OnScheduleDoubleClick);

            #line default
            #line hidden
                return;

            case 7:

            #line 221 "..\..\planning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrevWeek);

            #line default
            #line hidden
                return;

            case 8:

            #line 224 "..\..\planning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NextWeek);

            #line default
            #line hidden
                return;

            case 9:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.PlanningMonth = ((WpfScheduler.Scheduler)(target));

            #line 239 "..\..\planning.xaml"
                this.PlanningMonth.Loaded += new System.Windows.RoutedEventHandler(this.scheduler3_Loaded);

            #line default
            #line hidden

            #line 241 "..\..\planning.xaml"
                this.PlanningMonth.OnEventDoubleClick += new System.EventHandler <WpfScheduler.Event>(this.PlanMois_OnEventDoubleClick);

            #line default
            #line hidden

            #line 242 "..\..\planning.xaml"
                this.PlanningMonth.OnScheduleDoubleClick += new System.EventHandler <System.DateTime>(this.scheduler1_OnScheduleDoubleClick);

            #line default
            #line hidden
                return;

            case 12:

            #line 244 "..\..\planning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrevMonth);

            #line default
            #line hidden
                return;

            case 13:

            #line 247 "..\..\planning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NextMonth);

            #line default
            #line hidden
                return;

            case 14:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.btnPrev = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\KalendarRadnikWindow.xaml"
                this.btnPrev.Click += new System.Windows.RoutedEventHandler(this.btnPrev_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\KalendarRadnikWindow.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnModeDay = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\KalendarRadnikWindow.xaml"
                this.btnModeDay.Click += new System.Windows.RoutedEventHandler(this.btnModeDay_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnModeWeek = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\KalendarRadnikWindow.xaml"
                this.btnModeWeek.Click += new System.Windows.RoutedEventHandler(this.btnModeWeek_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnModeMonth = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\KalendarRadnikWindow.xaml"
                this.btnModeMonth.Click += new System.Windows.RoutedEventHandler(this.btnModeMonth_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.scheduleControl = ((WpfScheduler.Scheduler)(target));

            #line 35 "..\..\KalendarRadnikWindow.xaml"
                this.scheduleControl.OnEventDoubleClick += new System.EventHandler <WpfScheduler.Event>(this.WeekScheduler_OnEventDoubleClick);

            #line default
            #line hidden

            #line 36 "..\..\KalendarRadnikWindow.xaml"
                this.scheduleControl.OnScheduleDoubleClick += new System.EventHandler <System.DateTime>(this.WeekScheduler_OnScheduleDoubleClick);

            #line default
            #line hidden
                return;

            case 8:
                this.editEvent = ((System.Windows.Controls.Primitives.Popup)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.prevBtn = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\KalendarWindow.xaml"
                this.prevBtn.Click += new System.Windows.RoutedEventHandler(this.prevBtn_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.nextBtn = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\KalendarWindow.xaml"
                this.nextBtn.Click += new System.Windows.RoutedEventHandler(this.nextBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnAddEvenet = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.modeDayBtn = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\KalendarWindow.xaml"
                this.modeDayBtn.Click += new System.Windows.RoutedEventHandler(this.modeDayBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.modeWeekBtn = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\KalendarWindow.xaml"
                this.modeWeekBtn.Click += new System.Windows.RoutedEventHandler(this.modeWeekBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.modeMonthBtn = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\KalendarWindow.xaml"
                this.modeMonthBtn.Click += new System.Windows.RoutedEventHandler(this.modeMonthBtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.scheduler1 = ((WpfScheduler.Scheduler)(target));

            #line 25 "..\..\KalendarWindow.xaml"
                this.scheduler1.Loaded += new System.Windows.RoutedEventHandler(this.scheduler1_Loaded);

            #line default
            #line hidden

            #line 29 "..\..\KalendarWindow.xaml"
                this.scheduler1.OnEventDoubleClick += new System.EventHandler <WpfScheduler.Event>(this.scheduler1_OnEventDoubleClick);

            #line default
            #line hidden

            #line 30 "..\..\KalendarWindow.xaml"
                this.scheduler1.OnScheduleDoubleClick += new System.EventHandler <System.DateTime>(this.scheduler1_OnScheduleDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }