fix crash when cancelling add new profile

This commit is contained in:
Jonathan Jenne
2020-03-17 13:09:15 +01:00
parent 40045a0873
commit 3f77e627a4
4 changed files with 1469 additions and 1071 deletions

View File

@@ -1,5 +1,6 @@
Imports System.ComponentModel
Imports System.Text.RegularExpressions
Imports DevExpress.XtraGrid.Views.Base
Public Class frmAdministration
Public Shared _Namenkonvention As String
@@ -1357,4 +1358,12 @@ Public Class frmAdministration
EnableControls(Panel1)
End If
End Sub
Private Sub GridView1_ValidateRow(sender As Object, e As ValidateRowEventArgs) Handles GridView1.ValidateRow
e.Valid = True
End Sub
Private Sub GridView1_InvalidRowException(sender As Object, e As InvalidRowExceptionEventArgs) Handles GridView1.InvalidRowException
e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction
End Sub
End Class