/// <summary> /// 浮动停靠预览地图控件 /// </summary> public void DockTo(MapWinGIS.Interfaces.MapWinGISDockStyle dockStyle) { if (Program.frmMain.previewPanel != null) { Program.frmMain.previewPanel.Show(); Program.frmMain.previewPanel.DockState = UIPanel.SimplifyDockstate(dockStyle); } }
/// <summary> /// 浮动,停靠LegendPanel /// </summary> public void DockTo(MapWinGIS.Interfaces.MapWinGISDockStyle dockStyle) { if (Program.frmMain.legendPanel != null) { Program.frmMain.legendPanel.Show(); Program.frmMain.legendPanel.Visible = true; } }