Esempio n. 1
0
        /// <summary>
        /// サブWindowClose
        /// </summary>
        internal void CloseSub()
        {
            if (!_hasSub)
            {
                return;
            }

            _modules[_sub].Exit();
            _sub    = -1;
            _hasSub = false;
            _treeView.SetFocus();
        }
Esempio n. 2
0
        /// <summary>
        /// サブWindowOpen
        /// </summary>
        internal void OpenSub(ModuleType type, object param = null)
        {
            if (_sub != (int)type)
            {
                CloseSub();
                _sub = (int)type;
            }

            _subTreeView.Clear();
            _modules[_sub].TreeView = _subTreeView;
            _modules[_sub].Enter(param);
            _hasSub = true;
            _subTreeView.SetFocus();
        }