Hello....
I am trying a example codes of animated graphics. I rewrote all the code and I found an error which doesn't happen on the example code(I run the example project)
error:
'Protected Overrides Sub Dispose(disposing As Boolean)' has multiple definitions with identical signatures.
when I double clicked the error, I got this in Form1.Designer.vb:
The 'Dispose' is also on my Form1.vb:Code:'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub
Anybody knows why? and How to solve this?Code:Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub




Reply With Quote