Common: fix label for frmNotification_Startup

This commit is contained in:
Jonathan Jenne 2022-11-03 14:37:03 +01:00
parent 699b82d41f
commit 5a6299b116
2 changed files with 6 additions and 6 deletions

View File

@ -301,7 +301,7 @@
<value>1050, 654</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>frmNotification_Startup2</value>
<value>frmNotification_Startup</value>
</data>
<data name="&gt;&gt;btnCloseForm.Name" xml:space="preserve">
<value>btnCloseForm</value>

View File

@ -61,7 +61,10 @@ Public Class frmNotification_Startup
DocumentViewer1.Init(LogConfig, _GDPictureKey)
OperationMode = GetOperationMode()
Client = _Environment.Service.Client
Me.Text = _FormCaption
Text = _FormCaption
lbStatus.Caption = ""
If _NotificationsTable.Rows.Count = 1 Then
Me.ListBoxControl1.Visible = False
Load_Profile(_NotificationsTable.Rows(0).Item(COL_GUID))
@ -72,9 +75,6 @@ Public Class frmNotification_Startup
ListBoxControl1.DisplayMember = COL_TITLE
End If
Catch ex As Exception
'Dim oMsgBox As New frmDialog(ex.Message, "Unexpected Error loading form:", frmDialog.DialogType.Error)
'oMsgBox.ShowDialog()
FormHelper.ShowErrorMessage(ex.Message, "Unexpected error loading form")
End Try
End Sub
@ -192,7 +192,7 @@ Public Class frmNotification_Startup
End If
End If
Catch ex As Exception
FormHelper.ShowErrorMessage(ex.Message, "Unexpected error writing history")
FormHelper.ShowErrorMessage(ex.Message, "Unexpected error writing history")
End Try
End Sub