/// <summary> /// 设置服务器信息 /// </summary> public void SetServerInfo(ProgramInfo info, Delegate_StartServer StartServerCallBack) { this.info = info; this.mStartServer = StartServerCallBack; // 是否重启 this.CheckRestart.Checked = this.info.mRestart; this.ServerPath.Text = this.info.sPath; this.StartParam.Text = this.info.sParam; this.ServerName.Text = this.info.sName; this.mWorkPath.Text = this.info.sWorkDir; }