代码:

public Form1()
{
InitializeComponent();
string PrjPath = String.Format("{0}/gxljdata/map/DZmap.prj", Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath));
dmgismap1.LoadPrj(PrjPath);
//dmgismap1.wholewin();
//CenterToScreen();
dmLayerManageCtrl1.SetInit(dmgismap1);
dmLayerManageCtrl1.RefreshPrj();
//dmgismap1.UpdataWin();
}

posted on 2016-07-15 17:40  爽朗的刘备  阅读(167)  评论(0编辑  收藏  举报