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.Visua lStudio.Design. Serialization.C odeDom.MergedCo deDomParser.Sys tem.CodeDom.Com piler.ICodePars er.Parse(TextRe ader
stream)
at System.CodeDom. Compiler.CodeDo mProvider.Parse (TextReader
codeStream)
at
Microsoft.Visua lStudio.Shell.D esign.Serializa tion.CodeDom.Co deDomDocDataAda pter.get_Compil eUnit()
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .PerformLoad(ID esignerSerializ ationManager
serializationMa nager)
at
System.Componen tModel.Design.S erialization.Ba sicDesignerLoad er.BeginLoad(ID esignerLoaderHo st
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.Visua lStudio.Design. Serialization.C odeDom.MergedCo deDomParser.Sys tem.CodeDom.Com piler.ICodePars er.Parse(TextRe ader
stream)
at System.CodeDom. Compiler.CodeDo mProvider.Parse (TextReader
codeStream)
at
Microsoft.Visua lStudio.Shell.D esign.Serializa tion.CodeDom.Co deDomDocDataAda pter.get_Compil eUnit()
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .PerformLoad(ID esignerSerializ ationManager
serializationMa nager)
at
System.Componen tModel.Design.S erialization.Ba sicDesignerLoad er.BeginLoad(ID esignerLoaderHo st
host)
Comment