コード例 #1
0
ファイル: ColorPicker.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_ColorPicker = ((Imagin.Controls.Extended.ColorPicker)(target));
                return;

            case 2:
                this.PART_ColorSelector = ((Imagin.Controls.Extended.ColorSelector)(target));
                return;

            case 3:
                this.newCurrent = ((Imagin.Controls.Extended.NewCurrent)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: NewCurrent.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_NewCurrent = ((Imagin.Controls.Extended.NewCurrent)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.PART_NewLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.PART_NewCheckered = ((Imagin.Controls.Common.CheckerBoard)(target));
                return;

            case 5:
                this.PART_NewRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.PART_CurrentCheckered = ((Imagin.Controls.Common.CheckerBoard)(target));
                return;

            case 7:
                this.PART_CurrentRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 8:
                this.PART_CurrentLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }