Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 15 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
     ((tscui.Pages.Schedules.ScheduleView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     
     #line 15 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
     ((tscui.Pages.Schedules.ScheduleView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.scheduleViewModel = ((tscui.Pages.Schedules.ScheduleViewModel)(target));
     return;
     case 3:
     this.scheduleDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.cbxucCtrl = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
     return;
     case 5:
     this.ucTimePatternId = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
     return;
     case 6:
     this.sldScheduleId = ((System.Windows.Controls.Slider)(target));
     
     #line 60 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
     this.sldScheduleId.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sldScheduleId_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tbkScheduleId = ((System.Windows.Controls.TextBlock)(target));
     
     #line 61 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
     this.tbkScheduleId.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbkScheduleId_MouseDown);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 62 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                ((tscui.Pages.Schedules.ScheduleView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                ((tscui.Pages.Schedules.ScheduleView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.scheduleViewModel = ((tscui.Pages.Schedules.ScheduleViewModel)(target));
                return;

            case 3:
                this.scheduleDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.cbxucCtrl = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

            case 5:
                this.ucTimePatternId = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

            case 6:
                this.sldScheduleId = ((System.Windows.Controls.Slider)(target));

            #line 60 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                this.sldScheduleId.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldScheduleId_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                this.tbkScheduleId.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbkScheduleId_MouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 62 "..\..\..\..\Pages\Schedules\ScheduleView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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