Esempio n. 1
0
        private void OpenMapDoc()
        {
            OpenDocument openDoc = new OpenDocument(m_controlsSynchronizer);

            openDoc.OnCreate(m_controlsSynchronizer.MapControl.Object);
            openDoc.OnClick();
        }
Esempio n. 2
0
        public void OpenRecnetFile(string filename)
        {
            OpenDocument openDoc = new OpenDocument(m_controlsSynchronizer);

            openDoc.OnCreate(m_controlsSynchronizer.MapControl.Object);
            openDoc.OnClick_RecentFileMenuItem(filename);
        }
        private void cmd_OpenDoc(System.Object sender, EventArgs e)
        {
            ICommand cmd = new OpenDocument(m_ControlsSynchronizer);

            cmd.OnCreate(m_MapControl);
            cmd.OnClick();
        }