我有問題要翻譯,我可以翻譯按鈕,標籤,TextBoxs等,但我不知道怎麼翻譯MSGBOX ......我有這樣的代碼MSGBOX多語言
Imports System.Threading.Thread
Imports System.Globalization
Public Class FrmLlenguatje
Private Sub btEspañol_Click(sender As Object, e As EventArgs) Handles btEspañol.Click
CurrentThread.CurrentUICulture = New CultureInfo("ES")
Dim p02Es As New Form1
p02Es.Show()
InputLanguage.CurrentInputLanguage = InputLanguage.InstalledInputLanguages(0)
End Sub
Private Sub btCatalà_Click(sender As Object, e As EventArgs) Handles btCatalà.Click
CurrentThread.CurrentUICulture = New CultureInfo("CA")
Dim p02Ca As New Form1
p02Ca.Show()
InputLanguage.CurrentInputLanguage = InputLanguage.InstalledInputLanguages(0)
End Sub
End Class
而且我想知道一種方法來鏈接此按鈕單擊其他窗體,然後嘗試如果我可以創建一個If/else語句來翻譯這些MsgBox ..
我希望你能幫助我..謝謝!