示例#1
0
        public frmIdentByShape(MapWindow.Interfaces.IMapWin MapWin, mwIdentPlugin Plugin)
        {
            InitializeComponent();

            m_MapWin = MapWin;
            m_Plugin = Plugin;
        }
        public frmWMSProp(mwIdentPlugin p)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //get a copy of the parent
            m_parent = p;

            //set the parent form
            System.IntPtr tempPtr = (System.IntPtr)m_parent.m_ParentHandle;
            Form          mapFrm  = (Form)System.Windows.Forms.Control.FromHandle(tempPtr);

            mapFrm.AddOwnedForm(this);
        }