::打開TAB文件::<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
MapControl1.Map.Clear();//清空MapControl1控件中的地圖
MapTableLoader t1=new MapTableLoader(@"F:/test.tab");
MapControl1.Map.Load(t1);
::打開GST文件::
MapControl1.Map.Clear();
MapGeosetLoader g1=new MapGeosetLoader(@"F:/test.gst");
MapControl1.Map.Load(g1);
::打開其它類型地圖文件的代碼類似::