Azmyth.Editor.frmEditorMain.ShowPanel C# (CSharp) Метод

ShowPanel() публичный Метод

public ShowPanel ( PanelPosition position ) : void
position PanelPosition
Результат void
        public void ShowPanel(PanelPosition position)
        {
            switch (position)
            {
                case PanelPosition.Top:
                    pnlTop.Visible = true;
                    splitTop.Visible = true;
                    Properties.Settings.Default.TopPanelVisible = true;
                    break;
                case PanelPosition.Bottom:
                    pnlBottom.Visible = true;
                    splitBottom.Visible = true;
                    Properties.Settings.Default.BottomPanelVisible = true;
                    break;
                case PanelPosition.Left:
                    pnlLeft.Visible = true;
                    splitLeft.Visible = true;
                    Properties.Settings.Default.LeftPanelVisible = true;
                    break;
                case PanelPosition.Right:
                    pnlRight.Visible = true;
                    splitRight.Visible = true;
                    Properties.Settings.Default.RightPanelVisible = true;
                    break;
            }

            Properties.Settings.Default.Save();
        }

Same methods

frmEditorMain::ShowPanel ( PanelPosition position, bool show ) : void