using System.Globalization;
using System.Threading;
switch (comboBox1.SelectedIndex)
{
case 0:
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-SA");
Form1 frm = new Form1();
frm.ShowDialog();
break;
}
case 1:
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
Form1 frm = new Form1();
frm.ShowDialog();
break;
}
case 2:
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("hi-IN");
Form1 frm = new Form1();
frm.ShowDialog();
break;
}
default:
{
Form1 frm = new Form1();
frm.ShowDialog();
break;
}
No comments:
Post a Comment