InputLanguage.Culture : InputLanguage « System.Windows.Forms « C# / C Sharp by API






InputLanguage.Culture

  

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Globalization;
using System.Windows.Forms;
using System.Data;

class MainClass{

  static void Main()
  {
    InputLanguage inL = InputLanguage.CurrentInputLanguage;

    CultureInfo info = inL.Culture;

    Console.WriteLine("Culture identifier = {0}\n"+
                    "Display name = {1}\n"+
              "Calender = {2}\n",
              info.ToString(),
              info.DisplayName,
                    info.Calendar.ToString());
  }
}

   
    
  








Related examples in the same category

1.InputLanguage.CurrentInputLanguage