Csharp/C Sharp by API/System.Windows.Forms/InputLanguage — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 12:09, 26 мая 2010
InputLanguage.Culture
using System;
using System.Drawing;
using System.Collections;
using System.ruponentModel;
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());
}
}
InputLanguage.CurrentInputLanguage
using System;
using System.Drawing;
using System.Collections;
using System.ruponentModel;
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());
}
}