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;
 }
 public static void BindButton(ref InstCtrlButton InstBtn, ref InstScreen instSn) {
     InstBtn.OnUpButtonClick += instSn.ctrlBtn_Up;
     InstBtn.OnDownButtonClick += instSn.ctrlBtn_Down;
     InstBtn.OnLeftButtonClick += instSn.ctrlBtn_Left;
     InstBtn.OnRightButtonClick += instSn.ctrlBtn_Right;
     InstBtn.OnOkButtonClick += instSn.ctrlBtn_Ok;
     InstBtn.OnCancelButtonClick += instSn.ctrlBtn_Cancel;
 }
 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;
 }