コード例 #1
0
ファイル: UserControl1.g.cs プロジェクト: buptkang/LogicPad
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.expressionUserControl = ((LogicPad2.Expression.UserControl1)(target));
     return;
     case 2:
     this.UserControlScaleXY = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 3:
     this.UserControlXY = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 4:
     this.controlBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.Grid0 = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.alternatesTray = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 7:
     this.alternatesMenu = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 8:
     this.GCScroller = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 38 "..\..\UserControl1.xaml"
     this.GCScroller.LayoutUpdated += new System.EventHandler(this.GCScroller_LayoutUpdated);
     
     #line default
     #line hidden
     return;
     case 9:
     this.underlay = ((starPadSDK.WPFHelp.ContainerVisualHost)(target));
     return;
     case 10:
     this.inqCanvas = ((starPadSDK.Inq.InqCanvas)(target));
     return;
     case 11:
     this.controlRegion = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     return;
     case 14:
     this.btnTransform = ((System.Windows.Controls.Button)(target));
     return;
     case 15:
     this.btnScale = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\LogicExpressionInkCanvas.xaml"
     ((LogicPad2.LogicExpressionInkCanvas)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.alternatesTray = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 3:
     this.alternatesMenu = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 4:
     this.underlay = ((starPadSDK.WPFHelp.ContainerVisualHost)(target));
     return;
     case 5:
     this.inqCanvas = ((starPadSDK.Inq.InqCanvas)(target));
     return;
     }
     this._contentLoaded = true;
 }