last fixes
This commit is contained in:
@@ -276,8 +276,6 @@ Public Class frmAdministration
|
||||
End Sub
|
||||
|
||||
Private Sub TBCW_PROF_DATA_SEARCHBindingSource_AddingNew(sender As Object, e As System.ComponentModel.AddingNewEventArgs) Handles TBCW_PROF_DATA_SEARCHBindingSource.AddingNew
|
||||
|
||||
|
||||
MyDataset.TBCW_PROF_DATA_SEARCH.ADDED_WHOColumn.DefaultValue = Environment.UserName
|
||||
MyDataset.TBCW_PROF_DATA_SEARCH.PROFILE_IDColumn.DefaultValue = PROFILE_IDTextBox.Text
|
||||
MyDataset.TBCW_PROF_DATA_SEARCH.CONN_IDColumn.DefaultValue = 1
|
||||
@@ -339,9 +337,12 @@ Public Class frmAdministration
|
||||
End Sub
|
||||
Sub Refresh_ProfileScreen()
|
||||
Load_Profiles()
|
||||
Refresh_ProfileData()
|
||||
Refresh_Free_Users(PROFILE_IDTextBox.Text)
|
||||
Refresh_Free_Groups(PROFILE_IDTextBox.Text)
|
||||
|
||||
If PROFILE_IDTextBox.Text <> "" Then
|
||||
Refresh_ProfileData()
|
||||
Refresh_Free_Users(PROFILE_IDTextBox.Text)
|
||||
Refresh_Free_Groups(PROFILE_IDTextBox.Text)
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub BarButtonItem5_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem5.ItemClick
|
||||
@@ -660,10 +661,8 @@ Public Class frmAdministration
|
||||
TBCW_PROF_DOC_SEARCHTableAdapter.Fill(MyDataset.TBCW_PROF_DOC_SEARCH, PROFILE_IDTextBox.Text)
|
||||
Status_Changed("Dokument-Suche gespeichert")
|
||||
End If
|
||||
Catch ex As NoNullAllowedException
|
||||
MsgBox("Ein oder mehrere Felder wurden nicht ausgefüllt:" & vbNewLine & ex.Message, MsgBoxStyle.Exclamation, Text)
|
||||
Catch ex As Exception
|
||||
MsgBox("Unexpected Error while saving Document Search: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
||||
ShowErrorMessage(ex)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user