protected override void OnClick()
 {
     IMxDocument doc = ArcMap.Document;
     IMap map = doc.FocusMap;
     esriUtil.Forms.MapServices.frmAddProjectLayers frmAdd = new esriUtil.Forms.MapServices.frmAddProjectLayers(map, ESRI.ArcGIS.Geodatabase.esriDatasetType.esriDTRasterDataset);
     frmAdd.TopLevel = true;
     frmAdd.Show();
 }
Ejemplo n.º 2
0
        protected override void OnClick()
        {
            IMxDocument doc = ArcMap.Document;
            IMap        map = doc.FocusMap;

            esriUtil.Forms.MapServices.frmAddProjectLayers frmAdd = new esriUtil.Forms.MapServices.frmAddProjectLayers(map, ESRI.ArcGIS.Geodatabase.esriDatasetType.esriDTRasterDataset);
            frmAdd.TopLevel = true;
            frmAdd.Show();
        }