/// <summary> /// Shows the selected pane. /// </summary> private void ShowSelectedPane() { pnlAdvancedSettings.Visible = CurrentTab.Equals("Advanced Settings"); pnlBasicProperty.Visible = CurrentTab.Equals("Basic Settings"); pnlMobileSettings.Visible = CurrentTab.Equals("Mobile Local Settings"); pnlCustomGridTab.Visible = CurrentTab.Equals("Custom Grid Options"); foreach (var kvp in CustomSettingsProviders) { kvp.Value.Visible = CurrentTab.Equals(kvp.Key.CustomSettingsTitle); } }