Files
DPM_PADM/DPM2016/Utils/ToastMessage.vb
Stefan Hutter 6164ec3d16 Update 20240102
2024-01-02 22:23:16 +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