Hi,
I am facing strange error - I have created offline translator in the past using visual basic 2008, today I converted it without problems into VB 2010. But, when I click on the translate button, only the first line from textbox1 multiline is translated into textbox2 multiline. Other lines are left untranslated at all.
Example:
table - tabuľka
options -
development -
Code is very simple:
I have checked options of both textboxes and code again, but I dont know where is the problem.
I am facing strange error - I have created offline translator in the past using visual basic 2008, today I converted it without problems into VB 2010. But, when I click on the translate button, only the first line from textbox1 multiline is translated into textbox2 multiline. Other lines are left untranslated at all.
Example:
Quote:
table - tabuľka
options -
development -
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox_English.Text = "table" Then
TextBox_Slovak.Text = "tabuľka"
End If
If TextBox_English.Text = "options" Then
TextBox_Slovak.Text = "nastavenia"
End If
If TextBox_English.Text = "development" Then
TextBox_Slovak.Text = "vývoj"
End If
End Sub