' The using statement automatically disposes the brush. Any assistance would be appreciated Private Sub dataGridView1_RowPostPaint(ByVal sender As Object, _ ByVal e As DataGridViewRowPostPaintEventArgs) _ Handles dataGridView1.RowPostPaint ' Paint the row number on the row header. It looked great but than no cigar when I even discovered that 'CellStyle' was not a member on Microsofts site. I've attempted to try and find the classes that would allow me to code this myself but am overwhelmed by the tons of classes available. I attempted to use this code posted out on the Internet but it said that 'CellStyle' was not a member of the 'DataGridViewRowPostPaintEventArgs' Class. It isn't entirely clear what you are trying to achieve but it sounds like you want to set some default values for the new row? Vb.net - winforms - datagridview - new row with data filled into some cells - disappears.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |