J
Jorge
Hello
I am trying to change the backgroup color of windows form
datagrid. I found a sample class at the following URL
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnwinforms/html/wnf_CustDataGrid.asp
I get a compilation error sub 'Paint' cannot be
declared 'Overrides' because it does not override a sub
in a base class.
<code>
Public Class FormattableTextBoxColumn
Inherits DataGridTextBoxColumn
Public Event SetCellFormat As FormatCellEventHandler
Protected Overloads Overrides Sub Paint()
End Sub 'Paint
End Class
</code>
Does anyone know how to correct the compilation error or
has another class that does the same? Thanks
Kind Regards
Jorge Cavalheiro
I am trying to change the backgroup color of windows form
datagrid. I found a sample class at the following URL
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnwinforms/html/wnf_CustDataGrid.asp
I get a compilation error sub 'Paint' cannot be
declared 'Overrides' because it does not override a sub
in a base class.
<code>
Public Class FormattableTextBoxColumn
Inherits DataGridTextBoxColumn
Public Event SetCellFormat As FormatCellEventHandler
Protected Overloads Overrides Sub Paint()
End Sub 'Paint
End Class
</code>
Does anyone know how to correct the compilation error or
has another class that does the same? Thanks
Kind Regards
Jorge Cavalheiro