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

            #line 39 "..\..\..\..\..\ColorPicker\Models\CMY\CmyDisplay.xaml"
                this.txtC.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 40 "..\..\..\..\..\ColorPicker\Models\CMY\CmyDisplay.xaml"
                this.txtC.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.txtCUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtM = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 51 "..\..\..\..\..\ColorPicker\Models\CMY\CmyDisplay.xaml"
                this.txtM.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.txtMUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txtY = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 62 "..\..\..\..\..\ColorPicker\Models\CMY\CmyDisplay.xaml"
                this.txtY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\..\ColorPicker\Pickers\LabDisplay.xaml"
                this.rL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtL = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 35 "..\..\..\..\ColorPicker\Pickers\LabDisplay.xaml"
                this.txtL.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rA = ((System.Windows.Controls.RadioButton)(target));

            #line 42 "..\..\..\..\ColorPicker\Pickers\LabDisplay.xaml"
                this.rA.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtA = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 54 "..\..\..\..\ColorPicker\Pickers\LabDisplay.xaml"
                this.txtA.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rB = ((System.Windows.Controls.RadioButton)(target));

            #line 61 "..\..\..\..\ColorPicker\Pickers\LabDisplay.xaml"
                this.rB.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtB = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 73 "..\..\..\..\ColorPicker\Pickers\LabDisplay.xaml"
                this.txtB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rL = ((System.Windows.Controls.RadioButton)(target));

            #line 24 "..\..\..\..\ColorPicker\Displays\LchComponentSelector.xaml"
                this.rL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtL = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 36 "..\..\..\..\ColorPicker\Displays\LchComponentSelector.xaml"
                this.txtL.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rC = ((System.Windows.Controls.RadioButton)(target));

            #line 49 "..\..\..\..\ColorPicker\Displays\LchComponentSelector.xaml"
                this.rC.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtC = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 61 "..\..\..\..\ColorPicker\Displays\LchComponentSelector.xaml"
                this.txtC.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rH = ((System.Windows.Controls.RadioButton)(target));

            #line 75 "..\..\..\..\ColorPicker\Displays\LchComponentSelector.xaml"
                this.rH.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtH = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 88 "..\..\..\..\ColorPicker\Displays\LchComponentSelector.xaml"
                this.txtH.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rX = ((System.Windows.Controls.RadioButton)(target));

            #line 24 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.rX.Checked += new System.Windows.RoutedEventHandler(this.rX_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtX = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 32 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtX.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 33 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 36 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtX.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.rY = ((System.Windows.Controls.RadioButton)(target));

            #line 43 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.rY.Checked += new System.Windows.RoutedEventHandler(this.rY_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtY = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 52 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 55 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtY.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.rZ = ((System.Windows.Controls.RadioButton)(target));

            #line 62 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.rZ.Checked += new System.Windows.RoutedEventHandler(this.rZ_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtZ = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 71 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtZ.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 74 "..\..\..\..\..\ColorPicker\Models\XYZ\XyzDisplay.xaml"
                this.txtZ.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
ファイル: MainWindow.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_MainWindow = ((Imagin.NET.Demo.MainWindow)(target));
                return;

            case 3:
                this.PART_AdvancedTextBox = ((Imagin.Controls.Common.AdvancedTextBox)(target));
                return;

            case 4:
                this.PART_AdvancedTreeView = ((Imagin.Controls.Common.AdvancedTreeView)(target));
                return;

            case 5:

            #line 246 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.OnHorizontalContentAlignmentChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 247 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.OnHorizontalContentAlignmentChanged);

            #line default
            #line hidden
                return;

            case 7:

            #line 248 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.OnHorizontalContentAlignmentChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.PART_AlignableWrapPanel = ((Imagin.Controls.Common.AlignableWrapPanel)(target));
                return;

            case 9:
                this.PART_ColorComb = ((Imagin.Controls.Extended.ColorComb)(target));
                return;

            case 10:

            #line 337 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectColor);

            #line default
            #line hidden
                return;

            case 11:
                this.PART_ColorPicker = ((Imagin.Controls.Extended.ColorPicker)(target));
                return;

            case 12:

            #line 358 "..\..\..\MainWindow.xaml"
                ((Imagin.Controls.Common.MaskedButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnGetParentPath);

            #line default
            #line hidden
                return;

            case 14:
                this.PART_DirectionPad = ((Imagin.Controls.Common.DirectionPad)(target));
                return;

            case 15:
                this.PART_FontFamilyBox = ((Imagin.Controls.Common.FontFamilyBox)(target));
                return;

            case 16:
                this.PART_FontSizeBox = ((Imagin.Controls.Common.FontSizeBox)(target));
                return;

            case 17:

            #line 460 "..\..\..\MainWindow.xaml"
                ((Imagin.Controls.Common.Link)(target)).Click += new System.Windows.RoutedEventHandler(this.Link_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 470 "..\..\..\MainWindow.xaml"
                ((Imagin.Controls.Common.MaskedButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnGetParentPath);

            #line default
            #line hidden
                return;

            case 19:

            #line 478 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.OnViewChanged);

            #line default
            #line hidden
                return;

            case 20:

            #line 479 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.OnViewChanged);

            #line default
            #line hidden
                return;

            case 21:

            #line 562 "..\..\..\MainWindow.xaml"
                ((Imagin.Controls.Common.MaskedButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnMaskedButtonClick);

            #line default
            #line hidden
                return;

            case 22:
                this.PART_PasswordBox = ((Imagin.Controls.Common.PasswordBox)(target));

            #line 627 "..\..\..\MainWindow.xaml"
                this.PART_PasswordBox.Entered += new System.EventHandler <System.Windows.Input.KeyEventArgs>(this.OnPasswordEntered);

            #line default
            #line hidden
                return;

            case 23:
                this.PART_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 24:
                this.PART_Spacer = ((Imagin.Controls.Common.Spacer)(target));
                return;

            case 25:
                this.PART_SpacerThicknessLeft = ((Imagin.Controls.Common.DoubleUpDown)(target));

            #line 733 "..\..\..\MainWindow.xaml"
                this.PART_SpacerThicknessLeft.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnSpacerThicknessChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.PART_SpacerThicknessTop = ((Imagin.Controls.Common.DoubleUpDown)(target));

            #line 737 "..\..\..\MainWindow.xaml"
                this.PART_SpacerThicknessTop.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnSpacerThicknessChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.PART_SpacerThicknessRight = ((Imagin.Controls.Common.DoubleUpDown)(target));

            #line 741 "..\..\..\MainWindow.xaml"
                this.PART_SpacerThicknessRight.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnSpacerThicknessChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.PART_SpacerThicknessBottom = ((Imagin.Controls.Common.DoubleUpDown)(target));

            #line 746 "..\..\..\MainWindow.xaml"
                this.PART_SpacerThicknessBottom.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnSpacerThicknessChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.PART_ShortUpDown = ((Imagin.Controls.Common.ShortUpDown)(target));
                return;

            case 30:
                this.PART_IntUpDown = ((Imagin.Controls.Common.IntUpDown)(target));
                return;

            case 31:
                this.PART_ByteUpDown = ((Imagin.Controls.Common.ByteUpDown)(target));
                return;

            case 32:
                this.PART_LongUpDown = ((Imagin.Controls.Common.LongUpDown)(target));
                return;

            case 33:
                this.PART_DoubleUpDown = ((Imagin.Controls.Common.DoubleUpDown)(target));
                return;

            case 34:
                this.PART_DecimalUpDown = ((Imagin.Controls.Common.DecimalUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
ファイル: LabDisplay.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rL = ((System.Windows.Controls.RadioButton)(target));

            #line 23 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.rL.Checked += new System.Windows.RoutedEventHandler(this.rL_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtL = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 34 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtL.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 35 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtL.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 38 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtL.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.rA = ((System.Windows.Controls.RadioButton)(target));

            #line 43 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.rA.Checked += new System.Windows.RoutedEventHandler(this.rA_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtA = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 55 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtA.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 58 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtA.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.rB = ((System.Windows.Controls.RadioButton)(target));

            #line 63 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.rB.Checked += new System.Windows.RoutedEventHandler(this.rB_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtB = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 75 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 78 "..\..\..\..\ColorPicker\Views\LabDisplay.xaml"
                this.txtB.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rR = ((System.Windows.Controls.RadioButton)(target));

            #line 30 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\RgbComponentSelector.xaml"
                this.rR.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtR = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 42 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\RgbComponentSelector.xaml"
                this.txtR.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rG = ((System.Windows.Controls.RadioButton)(target));

            #line 57 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\RgbComponentSelector.xaml"
                this.rG.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtG = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 65 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\RgbComponentSelector.xaml"
                this.txtG.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rB = ((System.Windows.Controls.RadioButton)(target));

            #line 82 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\RgbComponentSelector.xaml"
                this.rB.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtB = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 93 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\RgbComponentSelector.xaml"
                this.txtB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
ファイル: CmykDisplay.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtC = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 32 "..\..\..\..\ColorPicker\Displays\CmykDisplay.xaml"
                this.txtC.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.txtCUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtM = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 52 "..\..\..\..\ColorPicker\Displays\CmykDisplay.xaml"
                this.txtM.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.txtMUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txtY = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 73 "..\..\..\..\ColorPicker\Displays\CmykDisplay.xaml"
                this.txtY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.txtYUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.txtK = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 94 "..\..\..\..\ColorPicker\Displays\CmykDisplay.xaml"
                this.txtK.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.txtKUnit = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rR = ((System.Windows.Controls.RadioButton)(target));

            #line 22 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.rR.Checked += new System.Windows.RoutedEventHandler(this.rR_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtR = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 32 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.txtR.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 33 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.txtR.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.txtRUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.rG = ((System.Windows.Controls.RadioButton)(target));

            #line 47 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.rG.Checked += new System.Windows.RoutedEventHandler(this.rG_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.txtG = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 54 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.txtG.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.txtGUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.rB = ((System.Windows.Controls.RadioButton)(target));

            #line 70 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.rB.Checked += new System.Windows.RoutedEventHandler(this.rB_Checked);

            #line default
            #line hidden
                return;

            case 8:
                this.txtB = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 80 "..\..\..\..\..\ColorPicker\Models\RGB\RgbDisplay.xaml"
                this.txtB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.txtBUnit = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rL = ((System.Windows.Controls.RadioButton)(target));

            #line 23 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.rL.Checked += new System.Windows.RoutedEventHandler(this.rL_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtL = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 34 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtL.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 35 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtL.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 38 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtL.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.rC = ((System.Windows.Controls.RadioButton)(target));

            #line 49 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.rC.Checked += new System.Windows.RoutedEventHandler(this.rC_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtC = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 60 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtC.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 64 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtC.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.rH = ((System.Windows.Controls.RadioButton)(target));

            #line 75 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.rH.Checked += new System.Windows.RoutedEventHandler(this.rH_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtH = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 87 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtH.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 90 "..\..\..\..\..\ColorPicker\Models\LCH\LchDisplay.xaml"
                this.txtH.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rX = ((System.Windows.Controls.RadioButton)(target));

            #line 26 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\XyzComponentSelector.xaml"
                this.rX.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtX = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 35 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\XyzComponentSelector.xaml"
                this.txtX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rY = ((System.Windows.Controls.RadioButton)(target));

            #line 45 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\XyzComponentSelector.xaml"
                this.rY.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtY = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 55 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\XyzComponentSelector.xaml"
                this.txtY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rZ = ((System.Windows.Controls.RadioButton)(target));

            #line 65 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\XyzComponentSelector.xaml"
                this.rZ.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtZ = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 75 "..\..\..\..\..\ColorPicker\ComponentView\ComponentSelector\XyzComponentSelector.xaml"
                this.txtZ.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rH = ((System.Windows.Controls.RadioButton)(target));

            #line 22 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.rH.Checked += new System.Windows.RoutedEventHandler(this.rH_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtH = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 32 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.txtH.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 33 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.txtH.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rS = ((System.Windows.Controls.RadioButton)(target));

            #line 46 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.rS.Checked += new System.Windows.RoutedEventHandler(this.rS_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtS = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 57 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.txtS.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rB = ((System.Windows.Controls.RadioButton)(target));

            #line 71 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.rB.Checked += new System.Windows.RoutedEventHandler(this.rB_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtB = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 81 "..\..\..\..\..\ColorPicker\Models\HSB\HsbDisplay.xaml"
                this.txtB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rH = ((System.Windows.Controls.RadioButton)(target));

            #line 26 "..\..\..\..\ColorPicker\ComponentView\HslComponentSelector.xaml"
                this.rH.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.PART_HTextBox = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 34 "..\..\..\..\ColorPicker\ComponentView\HslComponentSelector.xaml"
                this.PART_HTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rS = ((System.Windows.Controls.RadioButton)(target));

            #line 51 "..\..\..\..\ColorPicker\ComponentView\HslComponentSelector.xaml"
                this.rS.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 4:
                this.PART_STextBox = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 60 "..\..\..\..\ColorPicker\ComponentView\HslComponentSelector.xaml"
                this.PART_STextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rL = ((System.Windows.Controls.RadioButton)(target));

            #line 77 "..\..\..\..\ColorPicker\ComponentView\HslComponentSelector.xaml"
                this.rL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.PART_LTextBox = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 86 "..\..\..\..\ColorPicker\ComponentView\HslComponentSelector.xaml"
                this.PART_LTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #14
0
ファイル: HsbDisplay.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rH = ((System.Windows.Controls.RadioButton)(target));

            #line 23 "..\..\..\..\ColorPicker\Displays\HsbDisplay.xaml"
                this.rH.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtH = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 34 "..\..\..\..\ColorPicker\Displays\HsbDisplay.xaml"
                this.txtH.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rS = ((System.Windows.Controls.RadioButton)(target));

            #line 45 "..\..\..\..\ColorPicker\Displays\HsbDisplay.xaml"
                this.rS.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtS = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 57 "..\..\..\..\ColorPicker\Displays\HsbDisplay.xaml"
                this.txtS.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.rB = ((System.Windows.Controls.RadioButton)(target));

            #line 70 "..\..\..\..\ColorPicker\Displays\HsbDisplay.xaml"
                this.rB.Checked += new System.Windows.RoutedEventHandler(this.OnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtB = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 81 "..\..\..\..\ColorPicker\Displays\HsbDisplay.xaml"
                this.txtB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnTextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #15
0
ファイル: HslDisplay.g.i.cs プロジェクト: heniu75/Imagin.NET
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rH = ((System.Windows.Controls.RadioButton)(target));

            #line 24 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.rH.Checked += new System.Windows.RoutedEventHandler(this.rH_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.txtH = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 32 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtH.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtR_PreviewTextInput);

            #line default
            #line hidden

            #line 33 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtH.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 37 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtH.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.rS = ((System.Windows.Controls.RadioButton)(target));

            #line 50 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.rS.Checked += new System.Windows.RoutedEventHandler(this.rS_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.txtS = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 59 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtS.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 63 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtS.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.rL = ((System.Windows.Controls.RadioButton)(target));

            #line 76 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.rL.Checked += new System.Windows.RoutedEventHandler(this.rL_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.txtL = ((Imagin.Controls.Common.AdvancedTextBox)(target));

            #line 85 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtL.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden

            #line 89 "..\..\..\..\ColorPicker\Views\HslDisplay.xaml"
                this.txtL.GotFocus += new System.Windows.RoutedEventHandler(this._GotFocus);

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