コード例 #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.dateEntryYearControl = ((PosControls.DateEntryYearControl)(target));
                return;

            case 4:
                this.dateEntryMonthControl = ((PosControls.DateEntryMonthControl)(target));
                return;

            case 5:
                this.dateEntryDayControl = ((PosControls.DateEntryDayControl)(target));
                return;

            case 6:
                this.buttonChangeMonth = ((PosControls.PushButton)(target));
                return;

            case 7:
                this.buttonChangeYear = ((PosControls.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #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.dateEntryYearControl = ((PosControls.DateEntryYearControl)(target));
                return;

            case 4:
                this.dateEntryMonthControl = ((PosControls.DateEntryMonthControl)(target));
                return;

            case 5:
                this.dateEntryDayControl = ((PosControls.DateEntryDayControl)(target));
                return;

            case 6:
                this.buttonChangeMonth = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 24 "..\..\DateEntryDateControl.xaml"
                this.buttonChangeMonth.Click += new System.Windows.RoutedEventHandler(this.buttonChangeMonth_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.buttonChangeYear = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 25 "..\..\DateEntryDateControl.xaml"
                this.buttonChangeYear.Click += new System.Windows.RoutedEventHandler(this.buttonChangeYear_Click);

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