Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PosControls.ConfigurationManagerCore)(target));
                return;

            case 3:
                this.labelAmPmTime = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.buttonAmPm = ((PosControls.PushButton)(target));
                return;

            case 6:
                this.timeEntryClockControl = ((PosControls.TimeEntryClockControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:
                this.labelAmPmTime = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 25 "..\..\TimeEntryTimeControl.xaml"
                this.buttonAmPm.Click += new System.Windows.RoutedEventHandler(this.buttonAmPm_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.timeEntryClockControl = ((PosControls.TimeEntryClockControl)(target));
                return;
            }
            this._contentLoaded = true;
        }