Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\DayScheduler.xaml"
                ((WpfScheduler.DayScheduler)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\DayScheduler.xaml"
                this.btnPreviousDay.Click += new System.Windows.RoutedEventHandler(this.btnPreviousDay_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\DayScheduler.xaml"
                this.btnNextDay.Click += new System.Windows.RoutedEventHandler(this.btnNextDay_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.EventsHeaderGrid = ((WpfScheduler.SchedulerGrid)(target));
                return;

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

            case 6:
                this.dayLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.allDayEvents = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.ScrollEventsViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 9:
                this.EventsGrid = ((WpfScheduler.SchedulerGrid)(target));
                return;

            case 10:
                this.startJourney = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.endJourney = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.column = ((System.Windows.Controls.Canvas)(target));
                return;

            case 13:
                this.column2 = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\DayScheduler.xaml"
     ((WpfScheduler.DayScheduler)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 12 "..\..\DayScheduler.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ContextMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 19 "..\..\DayScheduler.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ContextMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 27 "..\..\DayScheduler.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ContextMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 34 "..\..\DayScheduler.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ContextMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 42 "..\..\DayScheduler.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ContextMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.gridDays = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.EventsHeaderGrid = ((WpfScheduler.SchedulerGrid)(target));
     return;
     case 9:
     this.dayLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.allDayEvents = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.ScrollEventsViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 12:
     this.EventsGrid = ((WpfScheduler.SchedulerGrid)(target));
     return;
     case 13:
     this.column = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\WeekScheduler.xaml"
                ((WpfScheduler.WeekScheduler)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.EventsHeaderGrid = ((WpfScheduler.SchedulerGrid)(target));
                return;

            case 3:
                this.dayLabel1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.dayLabel2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.dayLabel3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.dayLabel4 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 8:
                this.dayLabel6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.dayLabel7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.allDayEvents = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.ScrollEventsViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 12:
                this.EventsGrid = ((WpfScheduler.SchedulerGrid)(target));
                return;

            case 13:
                this.startJourney = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.endJourney = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.column1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 16:
                this.column2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.column3 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 18:
                this.column4 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 19:
                this.column5 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 20:
                this.column6 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.column7 = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 200 "..\..\WeekScheduler.xaml"
                this.btnPreviousWeek.Click += new System.Windows.RoutedEventHandler(this.btnPreviousWeek_Click);

            #line default
            #line hidden
                return;

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

            #line 201 "..\..\WeekScheduler.xaml"
                this.btnNextWeek.Click += new System.Windows.RoutedEventHandler(this.btnNextWeek_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\WeekScheduler.xaml"
     ((WpfScheduler.WeekScheduler)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.EventsHeaderGrid = ((WpfScheduler.SchedulerGrid)(target));
     return;
     case 3:
     this.dayLabel1 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.dayLabel2 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.dayLabel3 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.dayLabel4 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.dayLabel5 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.dayLabel6 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.dayLabel7 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.allDayEvents = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.ScrollEventsViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 12:
     this.EventsGrid = ((WpfScheduler.SchedulerGrid)(target));
     return;
     case 13:
     this.row_0_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 14:
     this.row_0_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 15:
     this.row_0_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 16:
     this.row_0_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 17:
     this.row_1_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 18:
     this.row_1_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 19:
     this.row_1_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 20:
     this.row_1_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 21:
     this.row_2_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 22:
     this.row_2_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 23:
     this.row_2_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 24:
     this.row_2_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 25:
     this.row_3_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 26:
     this.row_3_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 27:
     this.row_3_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 28:
     this.row_3_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 29:
     this.row_4_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 30:
     this.row_4_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 31:
     this.row_4_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 32:
     this.row_4_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 33:
     this.row_5_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 34:
     this.row_5_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 35:
     this.row_5_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 36:
     this.row_5_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 37:
     this.row_6_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 38:
     this.row_6_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 39:
     this.row_6_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 40:
     this.row_6_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 41:
     this.row_7_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 42:
     this.row_7_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 43:
     this.row_7_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 44:
     this.row_7_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 45:
     this.row_8_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 46:
     this.row_8_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 47:
     this.row_8_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 48:
     this.row_8_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 49:
     this.row_9_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 50:
     this.row_9_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 51:
     this.row_9_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 52:
     this.row_9_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 53:
     this.row_10_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 54:
     this.row_10_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 55:
     this.row_10_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 56:
     this.row_10_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 57:
     this.row_11_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 58:
     this.row_11_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 59:
     this.row_11_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 60:
     this.row_11_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 61:
     this.row_12_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 62:
     this.row_12_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 63:
     this.row_12_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 64:
     this.row_12_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 65:
     this.row_13_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 66:
     this.row_13_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 67:
     this.row_13_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 68:
     this.row_13_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 69:
     this.row_14_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 70:
     this.row_14_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 71:
     this.row_14_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 72:
     this.row_14_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 73:
     this.row_15_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 74:
     this.row_15_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 75:
     this.row_15_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 76:
     this.row_15_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 77:
     this.row_16_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 78:
     this.row_16_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 79:
     this.row_16_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 80:
     this.row_16_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 81:
     this.row_17_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 82:
     this.row_17_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 83:
     this.row_17_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 84:
     this.row_17_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 85:
     this.row_18_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 86:
     this.row_18_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 87:
     this.row_18_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 88:
     this.row_18_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 89:
     this.row_19_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 90:
     this.row_19_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 91:
     this.row_19_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 92:
     this.row_19_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 93:
     this.row_20_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 94:
     this.row_20_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 95:
     this.row_20_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 96:
     this.row_20_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 97:
     this.row_21_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 98:
     this.row_21_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 99:
     this.row_21_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 100:
     this.row_21_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 101:
     this.row_22_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 102:
     this.row_22_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 103:
     this.row_22_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 104:
     this.row_22_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 105:
     this.row_23_0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 106:
     this.row_23_15 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 107:
     this.row_23_30 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 108:
     this.row_23_45 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 109:
     this.startJourney = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 110:
     this.endJourney = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 111:
     this.column1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 112:
     this.column2 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 113:
     this.column3 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 114:
     this.column4 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 115:
     this.column5 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 116:
     this.column6 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 117:
     this.column7 = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }