How can i change the FontFamily of a TextBox in a windows application runtime(code behind)?
why the code below has error :
txtSubjectIn_Spammer_Send.Font.FontFamily = new FontFamily("Arial");
and it’s error is :
Property or indexer ‘System.Drawing.Font.FontFamily’ cannot be
assigned to — it is read only
thanks in advance
1 Answer