converting project from vs2003 to vs2005

  • Thread starter Thread starter Harun Bolat
  • Start date Start date
H

Harun Bolat

Hi all,
I convert my project from vs2003 to vs2005. I need to scale screen. But
"AutoScaleDimensions" or "AutoScaleMode" property does not recognize and
error like this "FormMain does not contain a definition for
AutoScaleMode".FormMain inherited from "System.Windows.Forms.Form" . But in
new project form, form has AutoScaleMode property. to add these property to
my project forms what can I do?
thanks.
 
After converting to vs2005 updating project to CF 2.0 solve problem.
In the vs2005 there is a new file together the main form file called <form
name>.Designer.cs.
How can I generate this file for my forms? I need to re-design all forms?
thank you very much.
 
thanks a lot Daniel

haber iletisinde þunlarý said:
As you found out the VS2005 (for CF v2.0) projects split the designer
generated code and the code you write into separate files. It doesn't do
this for upgraded projects and it could be quite tedious for you to do it
manually. It is also unnecessary. If you want to learn how it works under
the covers, see this:
http://www.danielmoth.com/Blog/2004/09/partial-classes-cf-full-fx.html

Cheers
Daniel
 
Back
Top