Example #1
0
        //新建文档
        private void barBtnItemNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ICommand command = new CreateNewDocument();

            command.OnCreate(m_mapControl.Object);
            command.OnClick();
        }
Example #2
0
        private void menuNewDoc_Click(object sender, EventArgs e)
        {
            //execute New Document command
            ICommand command = new CreateNewDocument();

            command.OnCreate(m_mapControl.Object);
            command.OnClick();
        }
Example #3
0
 //新建文档
 private void barBtnItemNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     ICommand command = new CreateNewDocument();
     command.OnCreate(m_mapControl.Object);
     command.OnClick();
 }
Example #4
0
 private void menuNewDoc_Click(object sender, EventArgs e)
 {
     //execute New Document command
     ICommand command = new CreateNewDocument();
     command.OnCreate(m_mapControl.Object);
     command.OnClick();
 }