TestGUI: Test new msgbox

This commit is contained in:
Jonathan Jenne
2022-02-08 16:28:48 +01:00
parent c6e67a967c
commit be617951b3
8 changed files with 261 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
Imports DigitalData.Modules.Database
Imports DigitalData.Modules.Logging
Imports DigitalData.Controls.MessageBoxEx
Public Class frmMsgBox
Private LogConfig As LogConfig
Private SQLServer As MSSQLServer
Public Sub New(LogConfig As LogConfig, SQLServer As MSSQLServer)
InitializeComponent()
Me.LogConfig = LogConfig
Me.SQLServer = SQLServer
End Sub
Private Sub SimpleButton1_Click(sender As Object, e As EventArgs) Handles SimpleButton1.Click
Dim oMsgbox = New MsgBoxEx("Hallo Welt!", "Ein Titel")
oMsgbox.ShowDialog()
End Sub
Private Sub SimpleButton2_Click(sender As Object, e As EventArgs) Handles SimpleButton2.Click
MsgBox("Hallo Welt", MsgBoxStyle.OkOnly, "EinTitel")
End Sub
End Class