Exemplo n.º 1
0
        public GridWindowCmd(IWindowManager windowManager)
        {
            base.Key = _baseKey;

            _uiUserControl = new UIUserControl();
            _uiUserControl._reoGridHost.Saved += _reoGridHost_Saved;
            _mdiWindow = windowManager.CreateMdiWindow(_windowKey, _windowTitle, _uiUserControl);

            _mdiWindow.Closing += _mdiWindow_Closing;

            this.ExecuteOnCheckedChange = false;

            _mdiWindow.Form.TopMost = false;

            //Console.WriteLine("MdiWindowCmd created for Gridx");
        }