Sub btnCustomDialog2_click
Dim cd As CustomDialog2
[COLOR="Red"]cd.AddView(pnlNumericUpDown,160dip,50dip)[/COLOR]
cd.Show("Spielschein-Auswahl","OK","Abbrechen","",Null)
If cd.Response=-1 Then
Dim n As Int
n=txtBox.text
Msgbox(n,"Test")
'SchowSpielSchein(n - 1)
End If
End Sub