mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-08 16:06:07 +02:00
Modify snippet in a WPF getting started (#1127)
This commit is contained in:
+1
@@ -3,6 +3,7 @@
|
||||
Private Sub ButtonAddName_Click(sender As Object, e As RoutedEventArgs)
|
||||
If Not String.IsNullOrWhiteSpace(txtName.Text) And Not lstNames.Items.Contains(txtName.Text) Then
|
||||
lstNames.Items.Add(txtName.Text)
|
||||
txtName.Clear()
|
||||
End If
|
||||
End Sub
|
||||
'</FinalCode>
|
||||
|
||||
Reference in New Issue
Block a user