void WindowShapeFileTest_Closed(object sender, EventArgs e)
 {
     if (_sf != null)
     {
         _sf.Dispose();
         _sf = null;
     }
 }
예제 #2
0
        protected override void ReleaseManagedResources()
        {
            _shapeFile.Dispose();

            foreach (var kvp in _openDatasets)
            {
                if (kvp.Value != null)
                {
                    kvp.Value.Dataset.Dispose();
                }
            }

            base.ReleaseManagedResources();
        }
예제 #3
0
        protected override void ReleaseManagedResources()
        {
            _shapeFile.Dispose();

            base.ReleaseManagedResources();
        }