HydroDesktop is a free and open source GIS enabled desktop application that helps you search for, download, visualize, and analyze hydrologic and climate data registered with the CUAHSI Hydrologic Information System. HydroDesktop is part of the legacy CUAHSI toolkit and is not under active development. Click the "releases" link below to download the latest installer for Microsoft Windows.
Severity Code Description Project File Line Suppression State
Error CS1002 ; expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 294 Active
Error CS1026 ) expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 181 Active
Error CS1026 ) expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 294 Active
Error CS1002 ; expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 181 Active
should it be this?
foreach (var lyr in Map.MapControl.GetAllLayers())
{
if ((lyr is IMapLayer) && lyr.Checked)
{
_layers.Add(lyr as IMapLayer);
}
}
Severity Code Description Project File Line Suppression State Error CS1002 ; expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 294 Active Error CS1026 ) expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 181 Active Error CS1026 ) expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 294 Active Error CS1002 ; expected DotSpatial.Controls D:\Visual Studio 2017\DotSpatial-master\Source\DotSpatial.Controls\LayoutLegend.cs 181 Active![rrrr](https://user-images.githubusercontent.com/8269391/95491310-6d011100-0967-11eb-87b1-9d2d85936b2d.JPG)
should it be this? foreach (var lyr in Map.MapControl.GetAllLayers()) { if ((lyr is IMapLayer) && lyr.Checked) { _layers.Add(lyr as IMapLayer); } }