enable/disable profile regex buttons

This commit is contained in:
Jonathan Jenne
2020-03-04 12:48:17 +01:00
parent 79d072bd52
commit 25aabe145d
3 changed files with 41 additions and 36 deletions

View File

@@ -101,6 +101,9 @@ Public Class frmAdministration
If frmloaded = False Then
Exit Sub
End If
RibbonPageGroupProfileRegex.Enabled = False
Select Case XtraTabControl2.SelectedTabPage.Name
Case XtraTabPageManualIndex.Name
If DOKART_GUIDTextBox.Text <> "" Then
@@ -120,6 +123,7 @@ Public Class frmAdministration
End Try
Case XtraTabPageProfileRegex.Name
TBGI_REGEX_DOCTYPETableAdapter.Fill(MyDataset.TBGI_REGEX_DOCTYPE, DOKART_GUIDTextBox.Text)
RibbonPageGroupProfileRegex.Enabled = True
End Select
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click