private void SetDefaultFont()
{
var font = App.Current.FindResource("CommonFontFamily") as FontFamily;
var selectiveFont = Properties.Settings.Default["TextBoxFontFamily"] as FontFamily;
if (DoesFontExist(selectiveFont))
{
font = selectiveFont;
}
else
{
font = new FontFamily("MS Gothic");
Properties.Settings.Default["TextBoxFontFamily"] = font;
}
}