Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Winforms change in February CTP - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

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

Wally

Posted: Mar 06 2005, 09:20 PM by Wallym | with 1 comment(s)
Filed under:

Comments

Julie Lerman said:

I think I saw that when I opened up a project from October in the november bits, actually.
# March 9, 2005 2:41 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)