private void pnlProperties_Close(object arg1, EventArgs arg2) { CollapsePanel(PanelPosition.Right); }