Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 13 "..\..\..\..\..\Interface\Designer\DesignArea.xaml"
     this.ScrollViewer.SizeChanged += new System.Windows.SizeChangedEventHandler(this.ScrollViewer_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Viewbox = ((System.Windows.Controls.Viewbox)(target));
     
     #line 14 "..\..\..\..\..\Interface\Designer\DesignArea.xaml"
     this.Viewbox.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Viewbox_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ContextMenu = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 4:
     this.Libraries = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 5:
     this.Canvas = ((ShaderComposer.Interface.Designer.Canvas.DynamicCanvas)(target));
     return;
     case 6:
     this.CanvasBackground = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Canvas = ((ShaderComposer.Interface.Designer.Canvas.DynamicCanvas)(target));
     return;
     case 2:
     this.CanvasBackground = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }