Brad B.
Brad B.

Reputation: 316

Old C# Winform project I got to work on doesn't have designer.cs to describe the window; rather all in InitializeComponent(). Why?

Project was initially made in VS2010 and any changes to the windows form (add a button) it updates the InitializeComponent() function where everything is currently kept to build the window instead of the designer.cs file. What kind of setting would have the person used to make it this way in the past?

Upvotes: 1

Views: 67

Answers (1)

Sunil
Sunil

Reputation: 3424

Scenarios:

  1. Project created in before .NET 3.5 era and later upgraded to .NET 4.0 will still be this way.

  2. UI handcoded.

  3. UI designed in an external tool and finally code copy pasted in to the form's InitializeComponent()

Upvotes: 2

Related Questions