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

            case 2:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\ColorDialog.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\ColorDialog.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

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

            #line 7 "..\..\..\..\..\10 Graphics\11 WPFColorPickerLib\ColorDialog.xaml"
                ((WPFColorPickerLib.ColorDialog)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.colorPicker = ((WPFColorPickerLib.ColorPicker)(target));
                return;

            case 3:
                this.btnOk = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\..\..\10 Graphics\11 WPFColorPickerLib\ColorDialog.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\..\..\10 Graphics\11 WPFColorPickerLib\ColorDialog.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: ColorDialog.g.i.cs プロジェクト: johnnyeven/hasuite
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.colorPicker = ((WPFColorPickerLib.ColorPicker)(target));
     return;
     case 2:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\ColorDialog.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\ColorDialog.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }