M
Montezuma's Daughter
Hi all
it is my first application. I wrote a class libraray with functions
and a simple class with form, textbox, buttons and a label.
I added reference to the second class so I would read the class
library. the I met 2 problems:
1.test data in the textbox is string and I need a double, how do I
convert it?
2.in default.cs I get en error message :
======================================================
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.
Object reference not set to an instance of an object.
Hide
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.MergedCodeDomParser.System.CodeDom.Compiler.ICodeParser.Parse(TextReader
stream)
at System.CodeDom.Compiler.CodeDomProvider.Parse(TextReader
codeStream)
at
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
serializationManager)
at
System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost
host)
it is my first application. I wrote a class libraray with functions
and a simple class with form, textbox, buttons and a label.
I added reference to the second class so I would read the class
library. the I met 2 problems:
1.test data in the textbox is string and I need a double, how do I
convert it?
2.in default.cs I get en error message :
======================================================
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.
Object reference not set to an instance of an object.
Hide
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.MergedCodeDomParser.System.CodeDom.Compiler.ICodeParser.Parse(TextReader
stream)
at System.CodeDom.Compiler.CodeDomProvider.Parse(TextReader
codeStream)
at
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
serializationManager)
at
System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost
host)