You have to set the Font property. Size is a readonly property of Font.
var textBox = (TextBox)client.Controls[0];
textBox.Font = new Font(textBox.Font.FontFamily, 16);
You have to set the Font property. Size is a readonly property of Font.
var textBox = (TextBox)client.Controls[0];
textBox.Font = new Font(textBox.Font.FontFamily, 16);