G
Gerhard Menzl
I have noticed that the Windows Forms Designer generates code that
creates a new System.Drawing.Font object every time the Font property of
a control is set to any value other than the default. Isn't this a
terrible waste of system resources? Or are those mere flyweight objects,
and the framework prevents needless resource duplication behind the
scenes anyway?
creates a new System.Drawing.Font object every time the Font property of
a control is set to any value other than the default. Isn't this a
terrible waste of system resources? Or are those mere flyweight objects,
and the framework prevents needless resource duplication behind the
scenes anyway?