コード例 #1
0
ファイル: ColorPicker.g.cs プロジェクト: msCube/Gallery
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ColorPickerControl = ((GraphicEditor.View.UserControls.ColorPicker)(target));
     return;
     case 2:
     this.f_colorPaletteImage = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.PickerEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 4:
     this.f_slider = ((System.Windows.Controls.Slider)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
ファイル: ColorPicker.g.i.cs プロジェクト: msCube/Gallery
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ColorPickerControl = ((GraphicEditor.View.UserControls.ColorPicker)(target));
     return;
     case 2:
     this.f_colorPaletteImage = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.PickerEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 4:
     this.f_slider = ((System.Windows.Controls.Slider)(target));
     return;
     case 5:
     this.StrokePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 6:
     this.RedPath = ((System.Windows.Shapes.Path)(target));
     return;
     case 7:
     this.GreenPath = ((System.Windows.Shapes.Path)(target));
     return;
     case 8:
     this.RedGreenPath = ((System.Windows.Shapes.Path)(target));
     return;
     case 9:
     this.BluePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 10:
     this.GreenBluePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 11:
     this.RedBluePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 12:
     this.RGBPath = ((System.Windows.Shapes.Path)(target));
     return;
     case 13:
     this.RedSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 14:
     this.GreenSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 15:
     this.BlueSlider = ((System.Windows.Controls.Slider)(target));
     return;
     }
     this._contentLoaded = true;
 }