Exemple #1
0
        private INewWindow GetMainWin()
        {
            System.Windows.Forms.Control c = coreBrowser as System.Windows.Forms.Control;
            INewWindow win = c.TopLevelControl as INewWindow;

            return(win);
        }
        public NewWindowCommand(INewWindow windowFactory)
        {
            m_windowFactory = windowFactory;

            /**
             * * Would need to assign value to m_openNewWindow here, and associate the DoOpenWindow method
             * * to the execution of the command.
             * * */
            m_openNewWindow = null;
        }