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

            command.OnCreate(m_mapControl.Object);
            command.OnClick();
        }
예제 #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();
        }
예제 #3
0
 //新建文档
 private void barBtnItemNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     ICommand command = new CreateNewDocument();
     command.OnCreate(m_mapControl.Object);
     command.OnClick();
 }
예제 #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();
 }