//文件另存为 private void ToolStripMenuItem_SaveAs_Click(object sender, EventArgs e) { SaveFileDialog pSaveFileDialog = new SaveFileDialog(); pSaveFileDialog.Title = "另存为"; pSaveFileDialog.OverwritePrompt = true; pSaveFileDialog.Filter = "ArcMap文档(*.mxd)|*.mxd|ArcMap模板(*.mxt)|*.mxt"; pSaveFileDialog.RestoreDirectory = true; if (pSaveFileDialog.ShowDialog() == DialogResult.OK) { string sFilePath = pSaveFileDialog.FileName; presenter.SaveAs(sFilePath); } }