public void APP_Color() { System.Windows.Media.Brush b = BrushColor.GetBursh(); if (b != null) { serverNameTextBlock.Background = b; serverPeopleTextBlock.Background = b; serverVersionTextBlock.Background = b; serverPingTextBlock.Background = b; serverMotdTextBlock.Background = b; serverModsTextBlock.Background = b; } }