MS
This commit is contained in:
@@ -68,6 +68,9 @@ Public Class ClassBackgroundHelper
|
||||
End Function
|
||||
|
||||
Private Sub GenerateBackgroundImage()
|
||||
If IsNothing(_originalImage) Then
|
||||
Exit Sub
|
||||
End If
|
||||
Try
|
||||
Dim gvInfo As GridViewInfo = TryCast(_grid.GetViewInfo(), GridViewInfo)
|
||||
Dim _processedImage As New Bitmap(gvInfo.ViewRects.Client.Width + 1, gvInfo.ViewRects.Client.Height + 1)
|
||||
@@ -81,7 +84,7 @@ Public Class ClassBackgroundHelper
|
||||
Catch ex As Exception
|
||||
LOGGER.Warn("Unexpected Error in GenerateBackgroundImage: " & ex.Message)
|
||||
End Try
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
Private Function CalculateImageLocation(imageWidth As Integer, imageHeight As Integer, gvInfo As GridViewInfo, alignment As ContentAlignment) As Point
|
||||
|
||||
Reference in New Issue
Block a user