D
dbuchanan
Hello,
What does this error mean?
"The event click is read-only and cannot be changed"
This is a design-time error. It is displayed instead of the form.
Here is the full text
\\
"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.
The event click is read-only and cannot be changed
at
System.ComponentModel.Design.EventBindingService.EventPropertyDescriptor.SetValue(Object
component, Object value)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAttachEventStatement(IDesignerSerializationManager
manager, CodeAttachEventStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)
//
I have made it go away by commenting out the following code. Then I
rebuild, close and reopen the solution.
(This is used within an inherited form thus the Overrides.)
\\
Protected Overrides Sub btnOK_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnOK.Click
'Save to Quote table
InsertIntoQuote()
'UpdateDatasourceTable(_dataSet1.tbl010Quote)
'Save to Version table
insertIntoVersion()
'UpdateDatasourceTable(_dataSet1.tbl020Version)
Me.Close()
End Sub
//
What is the problem?
dbuchanan
What does this error mean?
"The event click is read-only and cannot be changed"
This is a design-time error. It is displayed instead of the form.
Here is the full text
\\
"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.
The event click is read-only and cannot be changed
at
System.ComponentModel.Design.EventBindingService.EventPropertyDescriptor.SetValue(Object
component, Object value)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAttachEventStatement(IDesignerSerializationManager
manager, CodeAttachEventStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)
//
I have made it go away by commenting out the following code. Then I
rebuild, close and reopen the solution.
(This is used within an inherited form thus the Overrides.)
\\
Protected Overrides Sub btnOK_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnOK.Click
'Save to Quote table
InsertIntoQuote()
'UpdateDatasourceTable(_dataSet1.tbl010Quote)
'Save to Version table
insertIntoVersion()
'UpdateDatasourceTable(_dataSet1.tbl020Version)
Me.Close()
End Sub
//
What is the problem?
dbuchanan