Exemplo n.º 1
0
        public void DeHideAllPad()
        {
            if (_isHideAllPad)
            {
                _isHideAllPad = false;

                //只有本来是可见的,才做处理
                if (_propertyPadVisible)
                {
                    MainPropertyPad.Show();
                }
                if (_previewPadVisible)
                {
                    MainPreviewPad.Show();
                }
                if (_wizardPadVisible)
                {
                    MainWizardPad.Show();
                }
                if (_resultPadVisible)
                {
                    MainResultPad.Show();
                }
                if (_treePadVisible)
                {
                    MainTreePad.Show();
                }
                if (_tmpltViewPadVisible)
                {
                    MainTmpltViewPad.Show();
                }
            }
        }
Exemplo n.º 2
0
        public void ResetAllPad()
        {
            MainWizardPad.Hide();
            MainPropertyPad.Hide();
            MainTreePad.Hide();
            MainPreviewPad.Hide();
            MainTmpltViewPad.Hide();
            MainResultPad.Hide();

            MainWizardPad.Show(MainDockPanel, DockState.DockLeftAutoHide);
            MainPropertyPad.Show(MainDockPanel, DockState.DockBottom);
            MainPreviewPad.Show(MainDockPanel, DockState.DockBottom);
            MainTreePad.Show(MainDockPanel, DockState.DockRight);
            MainTmpltViewPad.Show(MainDockPanel, DockState.DockRight);
            MainResultPad.Show(MainDockPanel, DockState.DockBottom);

            //todo:查找结果窗口未处理
            //ResultsPad result = new ResultsPad();
            //result.Show(MainDockPanel, DockState.DockBottom);
        }