2023-09-13

This commit is contained in:
Jonathan Jenne
2023-09-13 10:23:50 +02:00
parent d4c010cda4
commit 5fb92fa5c8
15 changed files with 1162 additions and 80 deletions

View File

@@ -1,4 +1,6 @@
Imports System.ComponentModel
Imports DevExpress.XtraGrid
Imports DevExpress.XtraGrid.Views.Grid
Imports DevExpress.XtraSplashScreen
Imports DigitalData.Modules.Logging
Imports EnvelopeGenerator.Common
@@ -217,4 +219,16 @@ Partial Public Class frmEnvelopeEditor
}
oForm.ShowDialog()
End Sub
Private Sub GridReceivers_PaintEx(sender As Object, e As DevExpress.XtraGrid.PaintExEventArgs) Handles GridReceivers.PaintEx
Dim grid As GridControl = sender, view As GridView = Nothing
If TypeOf sender Is GridControl AndAlso TypeOf grid.MainView Is GridView Then
view = grid.MainView
Dim pen = New Pen(Color.Gainsboro, 2)
Dim info = view.GetViewInfo()
e.Cache.DrawRectangle(pen, info.Bounds)
pen.Dispose()
End If
End Sub
End Class