Null check.
This commit is contained in:
parent
8386da5ec6
commit
a8d609676e
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ namespace LibationWinForms
|
||||||
DataGridView.Rows[rowIndex].DefaultCellStyle.ForeColor = foreColor;
|
DataGridView.Rows[rowIndex].DefaultCellStyle.ForeColor = foreColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tagsString.Length == 0)
|
if (tagsString?.Length == 0)
|
||||||
{
|
{
|
||||||
base.Paint(graphics, clipBounds, cellBounds, rowIndex, elementState, null, null, null, cellStyle, advancedBorderStyle, paintParts);
|
base.Paint(graphics, clipBounds, cellBounds, rowIndex, elementState, null, null, null, cellStyle, advancedBorderStyle, paintParts);
|
||||||
DrawButtonImage(graphics, ButtonImage, cellBounds);
|
DrawButtonImage(graphics, ButtonImage, cellBounds);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue