public void LoadGram(UCView view) { if (this.ucMap != null) { this.ucMap.SetMap(view); } }
public void LoadGram(UCView view) { if (this.ucMap != null) { this.ucMap.SetMap(view); } }
public void SetMap(UCView _uc) { bool flag = false; if (this.uc != null) { this.panelMap.Controls.Remove(this.uc); flag = true; } this.uc = _uc; this.panelMap.Controls.Add(_uc); if (flag) { panelMap_SizeChanged(null,null); } }
public void SetMap(UCView _uc) { bool flag = false; if (this.uc != null) { this.panelMap.Controls.Remove(this.uc); flag = true; } this.uc = _uc; this.panelMap.Controls.Add(_uc); if (flag) { panelMap_SizeChanged(null, null); } }
public void SetMap(UCView _uc) { bool flag = false; if (SYSModel.clsSysConfig.STR_CURR_MAINMEMU == "CL_RepairBusiness") this.btnTitle.Caption = "维修业务"; else if (SYSModel.clsSysConfig.STR_CURR_MAINMEMU == "CL_AccessoriesBusiness") this.btnTitle.Caption = "配件业务"; if (this.uc != null) { this.panelMap.Controls.Remove(this.uc); flag = true; } _uc.Dock = DockStyle.Fill; this.uc = _uc; this.panelMap.Controls.Add(_uc); if (flag) { panelMap_SizeChanged(null, null); } }