Hey Com,
ich möchte das wenn in einer TextBox
Mein Code bisher:
Greet iEi
ich möchte das wenn in einer TextBox
Enter
gedrückt wird der Text der als nächstes in die TextBox kommt wieder in die erste Zeile gesetzt wird.Wie kann ich das machen ?Mein Code bisher:
VB.NET-Quellcode
- Private Sub srceMindBox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles srceMindBox.KeyDown
- If e.KeyCode = Keys.Enter Then
- If srceMindBox.Text.Contains("srcemind init") Then
- 'TODO: Init der SrceMind-Dateien
- srceMindBox.Text = srceMindBox.Text & "SrceMind Initalize Successfully !" & vbCrLf & vbCrLf & "Init all packages:" & vbCrLf & Application.CommonAppDataPath & vbCrLf & Application.ExecutablePath & vbCrLf & Application.LocalUserAppDataPath & vbCrLf & Application.StartupPath
- End If
- End If
- End Sub
Greet iEi