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

            case 2:
                this._qcsCurrent = ((SDE.View.Controls.QuickColorSelector)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._colorPreviewPanelBakground = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 2:
                this._colorGridLH = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 3:
                this._colorGridLV = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 4:
                this._colorSpriteBorder = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 5:
                this._colorSpriteOverlay = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 6:
                this._colorSelectionBorder = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 7:
                this._colorSelectionOverlay = ((SDE.View.Controls.QuickColorSelector)(target));
                return;

            case 8:

            #line 108 "..\..\..\..\..\Tools\ActViewer\PreviewSettingsDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this._buttonClose);

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