Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_ColorPicker = ((Imagin.Common.Colour.Controls.ColorPicker)(target));
                return;

            case 2:
                this.PART_OldRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_ColorPicker = ((Imagin.Common.Colour.Controls.ColorPicker)(target));
                return;

            case 2:

            #line 31 "..\..\..\..\..\Colour\_Controls\_Dialogs\ColorDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnRevert);

            #line default
            #line hidden
                return;

            case 3:

            #line 34 "..\..\..\..\..\Colour\_Controls\_Dialogs\ColorDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

            #line default
            #line hidden
                return;

            case 4:

            #line 38 "..\..\..\..\..\Colour\_Controls\_Dialogs\ColorDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancel);

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