public static string paths(string one)
        {
            int p = 0;      //p记录你当前项目的几级目录   也就是说有几个"\\"           
            one = one.Substring(0, one.Length - 9);     //为什么减9呢,因为  pathA获得的路径包括"\bin\Debug",求的是根目录,所以减9
            string path11 = "MAP\\基础教育数据1.mxd";
            int i = one.Length;
            //path11  为了显示看得明显
            for (int j = 0; j < i; j++)
            {
                if (one.Substring(j, 1) == "\\")
                {
                    p++;
                }
            }
            //for (int ss = 1; ss < p; ss++)
            /////为什么从1开始,因为上面算出的"\\"个数要减一个
            ///// 相对路径从硬盘根目录上开始,例如:   D:\\这个   "\\"不用计算
            /////
            //{
                path11 = one.ToString()+ path11;
            //}
            return path11;
        }
  private void MainForm_Load(object sender, EventArgs e)
        {
            string path = System.Windows.Forms.Application.StartupPath.ToString();
            string pp = paths(path);
            
            //get the MapControl
            m_mapControl = (IMapControl3)axMapControl1.Object;
            menuSaveDoc.Enabled = false;
            axMapControl1.LoadMxFile(pp,Type.Missing,Type.Missing);
            axMapControl1.Refresh();        }
axMapControl1.LoadMxFile(pp,Type.Missing,Type.Missing);老提示The specified filename cannot be found;那个地方出错了。