on my windows application form (c#) , i have arabic and english text boxes. for Arabic text boxes i want to automatically shift my language to arabic without presshing (alt + shift). I found this solution on internet and i implemented it on TextBox Enter
private void TextArabs_Enter(object sender, EventArgs e)
{
System.Globalization.CultureInfo TypeOfLanguage = new System.Globalization.CultureInfo("ar");
InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(TypeOfLanguage);
}
But still when i type in text box it types english letters instead of arabic. what should i do
you can use this way :
0: Language 1 that installed on your system
1: Language 2 that installed on your system ,...
Updated :