当前位置: 代码迷 >> .NET组件控件 >> axMapControl1.MousePointer = esriControlsMousePointer.esriPointerHourglass;是什么意义
  详细解决方案

axMapControl1.MousePointer = esriControlsMousePointer.esriPointerHourglass;是什么意义

热度:95   发布时间:2016-05-04 23:17:32.0
axMapControl1.MousePointer = esriControlsMousePointer.esriPointerHourglass;是什么意思
 System.Windows.Forms.OpenFileDialog openFileDia = new OpenFileDialog();
            openFileDia.Title = "打开地图文档";
            openFileDia.Filter = "mxd文档(*.mxd)|*.mxd|所有文件|*.*";
            openFileDia.ShowDialog();
            string strPath = openFileDia.FileName;
            if (axMapControl1.CheckMxFile(strPath))
            {
                axMapControl1.MousePointer = esriControlsMousePointer.esriPointerHourglass;
                axMapControl1.LoadMxFile(strPath ,0,Type.Missing);
                axMapControl1.MousePointer = esriControlsMousePointer.esriPointerDefault;
            }


这里的
axMapControl1.MousePointer = esriControlsMousePointer.esriPointerHourglass;
                axMapControl1.MousePointer = esriControlsMousePointer.esriPointerDefault;

这两句起什么作用
还有对象模型图中也有好多这个,不太明白,哪位能赐教一下
------解决思路----------------------
是枚举,主要是用来进行标志程序执行的标志位的。