when .net2003 solution is migrated to .net2005, controls are not as .net2005
-
Dear Friends I migrated my project to .net 2005 which was in .net 2003(windows application using C# language) When I run the solution the forms and the controls are as if it is still in .net2003 then I opened the files(all) and changed the versions from 1.0,1.3,etc to 2.0 till then I did not got the .net 2005 control appearance. What should I do. Please reply soon... My mail Id is rabindrapatra@gmail.com Thanks Rabindra Patra
-
Dear Friends I migrated my project to .net 2005 which was in .net 2003(windows application using C# language) When I run the solution the forms and the controls are as if it is still in .net2003 then I opened the files(all) and changed the versions from 1.0,1.3,etc to 2.0 till then I did not got the .net 2005 control appearance. What should I do. Please reply soon... My mail Id is rabindrapatra@gmail.com Thanks Rabindra Patra
I guess you're looking for the
Application.EnableVisualStyles
method:static void Main()
{
Application.EnableVisualStyles();
Application.Run(new Form1());
}
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
I guess you're looking for the
Application.EnableVisualStyles
method:static void Main()
{
Application.EnableVisualStyles();
Application.Run(new Form1());
}
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
I used "Application.EnableVisualStyles();" and is working fine Thanks for the quick reply. Rabindra