InputText: Fixed MissingMethodException

http://msdn.microsoft.com/en-US/library/system.drawing.font.originalfontname.aspx
This commit is contained in:
spx 2013-04-13 01:05:24 +09:00
parent 73adaffe43
commit 50328acdf5

View File

@ -185,7 +185,7 @@ namespace InputText
{
try
{
this.txtInput.Font = new Font(this.txtInput.Font.OriginalFontName, float.Parse(sSize));
this.txtInput.Font = new Font(this.txtInput.Font.Name, float.Parse(sSize));
}
catch { }
}