Ejemplo 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.ConfigurationManager)(target));
                return;

            case 3:
                this.dateEntryDateControl = ((PosControls.DateEntryDateControl)(target));
                return;

            case 4:
                this.timeEntryTimeControl = ((PosControls.TimeEntryTimeControl)(target));
                return;

            case 5:
                this.stackPanelButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.buttonOk = ((PosControls.TextBlockButton)(target));
                return;

            case 7:
                this.buttonCancel = ((PosControls.TextBlockButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
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.ConfigurationManager)(target));
                return;

            case 3:
                this.startDateEntryDateControl = ((PosControls.DateEntryDateControl)(target));
                return;

            case 4:
                this.endDateEntryDateControl = ((PosControls.DateEntryDateControl)(target));
                return;

            case 5:
                this.buttonAllDates = ((PosControls.TextBlockButton)(target));
                return;

            case 6:
                this.buttonSelectRange = ((PosControls.TextBlockButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ThisControl = ((PosControls.DateEntryControl)(target));
                return;

            case 2:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 4:
                this.dateControl = ((PosControls.DateEntryDateControl)(target));
                return;

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

            case 6:
                this.buttonCancel = ((PosControls.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }