public BackgroundForm(LayoutSettings settings) { InitializeComponent(); // Background form is only visible if we are displaying the splash screen on the primary display primaryLabel.Visible = secondaryLabel.Visible = false; var fontSettings = settings.SplashScreen.FontSettings; primaryLabel.Font = new Font(fontSettings.Face, fontSettings.Size, FontStyle.Bold, GraphicsUnit.Point); secondaryLabel.Font = new Font(fontSettings.Face, fontSettings.Size * 0.9f, FontStyle.Regular, GraphicsUnit.Point); }
public BlankScreen(LayoutSettings layoutSettings, PowerManager powerManager) { _powerManager = powerManager; BackgroundForm = new BackgroundForm(layoutSettings); }