Advertisement
filmee24

Untitled

Feb 17th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Imports DotNetLib.Common
  2.  
  3. Public Class Form1
  4.  
  5.     Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
  6.         Initialize()
  7.  
  8.         AddHandler LocaleChanged, AddressOf Changed
  9.  
  10.         ComboBox1.Items.AddRange(AviableLocales)
  11.  
  12.         If Not ComboBox1.Items.Count = -1 Then
  13.             ComboBox1.SelectedIndex = 0
  14.         End If
  15.     End Sub
  16.  
  17.     Private Sub ComboBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
  18.         SetLocale(ComboBox1.SelectedItem)
  19.     End Sub
  20.  
  21.     Private Sub Changed()
  22.         btn_checkforupdates.Text = [Get]("checkforupdates")
  23.         lbl_welcomeuser.Text = [Get]("welcomeuser")
  24.     End Sub
  25.  
  26. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement