private Font GetFont()
{
var style = FontStyle.Regular;
if (this.checkBoxBold.Checked) style |= FontStyle.Bold;
if (this.checkBoxItalic.Checked) style |= FontStyle.Italic;
if (this.checkBoxUnderline.Checked) style |= FontStyle.Underline;
var size = (float)this.numericSize.Value;
string fontName = this.fontComboBox.SelectedFontFamily;
return FontHelper.GetFont(fontName, size, style);
}