Re: Difference between .cs & .designer.cs file

Ask general questions here.
Harshal Joshi
Posts: 22
Joined: Tue Oct 18, 2011 10:03 am

Re: Difference between .cs & .designer.cs file

Post by Harshal Joshi » Tue Nov 01, 2011 1:42 pm

Hi,
Please let me know What is the difference between .cs file and .designer.cs file in Ranorex ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Difference between .cs & .designer.cs file

Post by Support Team » Wed Nov 02, 2011 9:30 am

The "Form1.designer.cs" is automatically generated by the designer when you use it to create and design a Windows Forms form. You should not change or edit anything in that auto-generated file. All manual code changes should go into the corresponding "Form1.cs" file.

If you do a search with your favorite Internet search engine, you'll find hundreds of topics explaining what code should go into which of the two files.

Regards,
Alex
Ranorex Team

Harshal Joshi
Posts: 22
Joined: Tue Oct 18, 2011 10:03 am

Re: Difference between .cs & .designer.cs file

Post by Harshal Joshi » Wed Nov 02, 2011 10:23 am

Thanks a lot