StrataFrame Forum
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
Error Could not open form interface design in C# ?
http://forum.strataframe.net/Topic33440.aspx
By Dong Trien Lam
-
2/19/2017
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
By StrataFrame Team
-
2/20/2017
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 f
rmMain.Designer.cs. Delete one.
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.components = new System.ComponentModel.Container();
}
By Dong Trien Lam
-
2/20/2017
I opened successfully, thank you very much
By Dong Trien Lam
-
2/21/2017
Why you know error on ? based on what you're looking for information that does not go out, you can say I know ?
By StrataFrame Team
-
2/21/2017
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.