public void Add_map() { IRasterLayer my_raster = new RasterLayer(); my_raster.FromFile(path); AxMapControl1.AddLayer(my_raster); } -------------------------------------------------- public void Delete_map() { AxMapControl1.DeleteLayer(0); System.IO.File.delete(path); //There is a Exception.... This problem... }
System.IO.File.delete(path);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)