private void UpdateTitleFont() { if (this.labelTitle != null) { Font defaultFont = FontHelper.GetDefaultFont(); this.labelTitle.Font = new Font(defaultFont.FontFamily, defaultFont.SizeInPoints + 2f, FontStyle.Bold); } }
private void UpdateFontSetting() { base.SuspendLayout(); this.Font = FontHelper.GetDefaultFont(); base.ResumeLayout(false); }
private bool ShouldSerializeFont() { return(this.Font == FontHelper.GetDefaultFont()); }