Example #1
0
        /// <summary>
        /// 另存为
        /// </summary>
        public void SaveAs()
        {
            //调用另存为命令
            ICommand command = new ControlsSaveAsDocCommand();

            command.OnCreate(this.AxMapControl.Object);
            command.OnClick();
        }
Example #2
0
        private void barButtonItem7_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ICommand pSaveMap = new ControlsSaveAsDocCommand();

            pSaveMap.OnCreate(axMapControl1.Object);

            pSaveMap.OnClick();
            //保存地图文档
        }
 /// <summary>
 /// 另存为
 /// </summary>
 public void SaveAs()
 {
     //调用另存为命令
     ICommand command = new ControlsSaveAsDocCommand();
     command.OnCreate(this.AxMapControl.Object);
     command.OnClick();
 }