fix buttons not being enabled

This commit is contained in:
Jonathan Jenne 2020-06-17 11:21:25 +02:00
parent 8876c80ab4
commit b9a9554d41

View File

@ -448,8 +448,6 @@ Public Class frmAdministration
Try Try
Select Case oTabName Select Case oTabName
Case TabPageProcessAssignment.Name Case TabPageProcessAssignment.Name
CtrlApplicationAssignment1.Process_Load(PROFILE_IDTextBox.Text)
RibbonGroup_Profile.Enabled = False RibbonGroup_Profile.Enabled = False
RibbonGroup_Process.Enabled = True RibbonGroup_Process.Enabled = True
@ -843,4 +841,10 @@ Public Class frmAdministration
MemoEdit4.Text &= oItem.Value MemoEdit4.Text &= oItem.Value
End If End If
End Sub End Sub
Private Sub TBCW_PROFILESBindingSource_CurrentChanged(sender As Object, e As EventArgs) Handles TBCW_PROFILESBindingSource.CurrentChanged
If PROFILE_IDTextBox.Text <> String.Empty Then
CtrlApplicationAssignment1.Process_Load(PROFILE_IDTextBox.Text)
End If
End Sub
End Class End Class