Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ModelInfo_Front = ((PowerConstrolSimulation.Controller.InstModelInfo)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\Instruments\InstPCS931.xaml"
     ((PowerControlSimulation.Instruments.InstPCS931)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Inst_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.PCS931_Viewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 3:
     this.PCS931_Border = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.PCS931_Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.Title_Inst = ((PowerConstrolSimulation.Controller.InstModelTitle)(target));
     return;
     case 6:
     this.Screen_Ctrl = ((PowerConstrolSimulation.Controller.InstScreen)(target));
     return;
     case 7:
     this.Button_Ctrl = ((PowerConstrolSimulation.Controller.InstCtrlButton)(target));
     return;
     case 8:
     this.ModelInfo_Ctrl = ((PowerConstrolSimulation.Controller.InstModelInfo)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PCS931_Viewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 2:
     this.PCS931_Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Title_Inst = ((PowerConstrolSimulation.Controller.InstModelTitle)(target));
     return;
     case 4:
     this.Screen_Ctrl = ((PowerConstrolSimulation.Controller.InstScreen)(target));
     return;
     case 5:
     this.Button_Ctrl = ((PowerConstrolSimulation.Controller.InstCtrlButton)(target));
     return;
     case 6:
     this.ModelInfo_Ctrl = ((PowerConstrolSimulation.Controller.InstModelInfo)(target));
     return;
     }
     this._contentLoaded = true;
 }