public void initInfoByJump(SCREEN_JUMP dest,object arg,Displayer instScreen) {
            if(dest == SCREEN_JUMP.INIT_INFO) {
                try {
                    if(this.displayer == null) {
                        this.displayer = instScreen;
                    }
                    InfoDown_Listbox.SelectedIndex = 0;
                    InfoUp_Listbox.SelectedIndex = 0;

                } catch(Exception) {

                }
                this.Visibility = Visibility.Visible;
            }
        }
 /// <summary>
 /// 委托跳转初始化菜单
 /// </summary>
 /// <param name="dest">跳转目标</param>
 /// <param name="arg">携带参数</param>
 public void initMenuByJump(SCREEN_JUMP dest, object arg, Displayer instScreen) {
     if (dest == SCREEN_JUMP.MENU) {
         try {
             if (this.displayer == null) {
                 this.displayer = instScreen;
             }
             ItemType item = arg as ItemType;
             if(item != null)
             {
                 restoreState(item);
             }
           //  showMenuByItem(item);
         } catch (Exception) { }
         this.Visibility = Visibility.Visible;
     }
 }
        /// <summary>
        /// 委托跳转初始化设置项
        /// </summary>
        /// <param name="dest">跳转目标</param>
        /// <param name="arg">携带参数</param>
        public void initSettingByJump(SCREEN_JUMP dest, object arg, Displayer displayer) {
            if (dest == SCREEN_JUMP.SETTING) {
                try {
                    if (this.dispalyer == null) {
                        this.dispalyer = displayer;
                    }
                    SettingData setting = arg as SettingData;
                    Setting_Grid.DataContext = setting;
                    SettingContent_ListBox.SelectedIndex = 0;
                    SettingContent_ScrollViewer.ScrollToVerticalOffset(0);
                    this.Visibility = Visibility.Visible;
                } catch (Exception) {

                }
            }
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RunningState_Controller = ((Simulation.Factory.NanRui.Operation.Common.Controller.RunningStateA)(target));
     return;
     case 2:
     this.Model_Title_Controller = ((Simulation.Factory.NanRui.Operation.Common.Controller.ModelTitle)(target));
     return;
     case 3:
     this.Displayer_Controller = ((Simulation.Factory.NanRui.Operation.Common.Controller.Displayer)(target));
     return;
     case 4:
     this.ModelInfo_Controller = ((Simulation.Factory.NanRui.Operation.Common.Controller.ModelInfo)(target));
     return;
     case 5:
     this.CtrlButton_Controller = ((Simulation.Factory.NanRui.Operation.Common.Controller.CtrlButton)(target));
     return;
     case 6:
     this.EMACWidthLid_Controller = ((Simulation.Factory.NanRui.Operation.Common.Controller.EMACWidthLid)(target));
     return;
     }
     this._contentLoaded = true;
 }