Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 29 Mar 2006 12:37:45 +0200,    group: microsoft.public.dotnet.framework.windowsforms.designtime        back       


Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class)   
Hi All !

I got a few heavy forms with a lot of controls. What is the easiest/fastest way to convert these to
"partial class" type (Separate Designer.cs file) ?

TIA

Best wishes
Best wishes
Kai Bohli
kaiboe@online.no
Norway
date: Wed, 29 Mar 2006 12:37:45 +0200   author:   Kai Bohli

Re: Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class)   
Hi Kai,

The upgrade wizard for vs2005 doesn't convert your forms to the new coding 
style (as you probably already found out).
The most simplest way is to create a new form and open only the code 
windows.
Then look at the structure of the files and copy the code from the original 
form-code-file to the new one respecting the structure.

This is how I did it. Ignore the errors and remove the original (exclude). 
Rebuild and see if its correct.

Hope this is what you where looking for.

Greets,

Martin


"Kai Bohli"  wrote in message 
news:gmok22157u1g9ef8dfumi7v1om3b00qahr@4ax.com...
> Hi All !
>
> I got a few heavy forms with a lot of controls. What is the 
> easiest/fastest way to convert these to
> "partial class" type (Separate Designer.cs file) ?
>
> TIA
>
> Best wishes
> Best wishes
> Kai Bohli
> kaiboe@online.no
> Norway
date: Fri, 7 Apr 2006 15:15:00 +0200   author:   Martin Boltendal

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us