Error Could not open form interface design in C# ?


Author
Message
Dong Trien Lam
Dong Trien Lam
StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)
Group: Anonymous / Guest
Posts: 57, Visits: 251
When my form design interface when editing files close and reopen frmMain.Designer.cs not see the look of the form, press Rebuil ..., press F5 or click Clear Solution no errors, press F5 to run normally, view form, but not the interface design in the form editor mode, in drafting VS screen and press select view designer frmMain.cs it his fault output stream to the attached word file, this case you can go back to the most recent edits or a way to view the form interface design? (Except sit redesigned from scratch) you view attachments error: http://www.mediafire.com/file/3fnke7btqaiab47/Error.doc
StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Looks like this is a bug in the Visual Studio designer:

https://connect.microsoft.com/VisualStudio/Feedback/Details/344891

You have 2 lines duplicated in the InitializeComponent() of your frmMain.Designer.cs.  Delete one.

private void InitializeComponent()
{
    this.components = new System.ComponentModel.Container();
    this.components = new System.ComponentModel.Container();
}
Dong Trien Lam
Dong Trien Lam
StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)
Group: Anonymous / Guest
Posts: 57, Visits: 251
I opened successfully, thank you very much
Edited 7 Years Ago by Dong Trien Lam
Dong Trien Lam
Dong Trien Lam
StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)StrataFrame Novice (105 reputation)
Group: Anonymous / Guest
Posts: 57, Visits: 251
Why you know error on ? based on what you're looking for information that does not go out, you can say I know ?
StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
There was 1 line in the error message you posted that I was able to Google:

The name 'components' is already used by anotherobject. 

Searching that found several people who had the same problem.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search