Files
DPM_PADM/DPM2016_20240227/Utils/ToastMessage.vb
Stefan Hutter 733b7f9c81 Update 20240227
2024-02-27 20:38:55 +01:00

22 lines
550 B
VB.net

Imports kp.Toaster
Public Class ToastMessage
Public Sub ShowToastMessage(o As Object, title As String, message As String, type As ToastType, duration As ToastDuration)
If My.Settings.ShowToast = True Then
Toast.show(o, title, message, type, duration)
End If
End Sub
Public Sub ShowSaveMesasge(o As Object)
If My.Settings.ShowToast = "True" Then
Toast.show(o, "Speichern", "Daten erfolgreich gespeichert", ToastType.INFO, ToastDuration.SHORT)
End If
End Sub
End Class