Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((PosControls.ColorSelectBox)(target));

            #line 8 "..\..\ColorSelectBox.xaml"
                this.userControl.Loaded += new System.Windows.RoutedEventHandler(this.userControl_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.borderSwatch = ((System.Windows.Controls.Border)(target));

            #line 36 "..\..\ColorSelectBox.xaml"
                this.borderSwatch.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.borderSwatch_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #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.colorSelectBox = ((PosControls.ColorSelectBox)(target));
                return;

            case 4:
                this.buttonGenerate = ((PosControls.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }