Winforms change in February CTP
I just brought up a winforms app that I original wrote in beta 1 last summer and have migrated to various builds since then. The app is designed to show some new features of Sql Server 2005. When I loaded this app in the February CTP, I get a warning message stating that AutoScaleBaseSize() as System.Drawing.Size is obsolete.
'Public Overridable Property AutoScaleBaseSize() As System.Drawing.Size' is obsolete: 'This property has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202'
I changed
Me.AutoScaleBaseSize = New System.Drawing.Size(5,
13)
to
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font