Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.
Private Sub datagridview1_CellPainting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellPaintingEventArgs) Handles datagridview1.CellPainting Dim row As DataGridViewRow = datagridview1.Rows(e.RowIndex) Dim BackColorBrush As New SolidBrush(e.CellStyle.BackColor) Dim GridBrush As New SolidBrush(Me.datagridview1.GridColor) Dim GridLinePen As New Pen(GridBrush) ' -- Erase the cell e.Graphics.FillRectangle(BackColorBrush, e.CellBounds) Dim ProgressBarBrush As New SolidBrush(Color.Black) Dim CellProgressBarRect As New Rectangle(e.CellBounds.X, e.CellBounds.Y, e.CellBounds.Width, 2) e.Graphics.FillRectangle(ProgressBarBrush, CellProgressBarRect) e.Handled = True Dim style As New DataGridViewCellStyle style.Font = New Font(datagridview1.Font, FontStyle.Bold) datagridview1.Rows(e.RowIndex).DefaultCellStyle = style End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.