mapControl是地图面板控件
using (OpenFileDialog ofd =new OpenFileDialog())
{
ofd.Filter = "地图文档(*.mxd)|*.mxd";
if (ofd.ShowDialog()== DialogResult.OK)
{
mapControl.Map.ClearLayers();
mapControl.LoadMxFile(ofd.FileName);
}