Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((cst238Exam2Clock.MainWindow)(target));
                return;

            case 2:
                this.spDateTimeAndOption = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.spCalAndTime = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.calendarMain = ((System.Windows.Controls.Calendar)(target));
                return;

            case 5:
                this.gsSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 6:
                this.spClockAndTime = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.canvasClock = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.lblBottomHour = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 11:
                this.lblTopHour = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblTimeBox = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.cbMilitaryTime = ((System.Windows.Controls.CheckBox)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.cbMilitaryTime.Unchecked += new System.Windows.RoutedEventHandler(this.cbMilitaryTime_Unchecked);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                this.cbMilitaryTime.Checked += new System.Windows.RoutedEventHandler(this.cbMilitaryTime_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((cst238Exam2Clock.MainWindow)(target));
     return;
     case 2:
     this.spDateTimeAndOption = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.spCalAndTime = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.calendarMain = ((System.Windows.Controls.Calendar)(target));
     return;
     case 5:
     this.gsSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 6:
     this.spClockAndTime = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.canvasClock = ((System.Windows.Controls.Canvas)(target));
     return;
     case 8:
     this.lblBottomHour = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.lblRightHour = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lblLeftHour = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lblTopHour = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.lblTimeBox = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.cbMilitaryTime = ((System.Windows.Controls.CheckBox)(target));
     
     #line 19 "..\..\MainWindow.xaml"
     this.cbMilitaryTime.Unchecked += new System.Windows.RoutedEventHandler(this.cbMilitaryTime_Unchecked);
     
     #line default
     #line hidden
     
     #line 19 "..\..\MainWindow.xaml"
     this.cbMilitaryTime.Checked += new System.Windows.RoutedEventHandler(this.cbMilitaryTime_Checked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }