private void closeCurrentPanel() { Form currentPanel = PanelManager.Instance.GetCurrentPanel() as Form; Windows.CloseForm(currentPanel); }