Visual Studio International Pack 1.0 ã«ã¤ãã¦
ããã¥ã¡ã³ãã«æ¸ãã¦ãªããã¨ã®ã¡ã¢
ãå
¨ã¦ã®ã¦ã¼ã¶ãã§ã¤ã³ã¹ãã¼ã«ãã¦ãGACã«ã¯å
¥ããªãã®ã§ã使ãå ´åã¯DLLãåç
§è¨å®ã§è¿½å ããã
- East Asia Numeric Formatting Libraryï¼æ±ã¢ã¸ã¢ã®ããã®æ°å¤ãã©ã¼ãããã©ã¤ãã©ãªï¼
(EastAsiaNumericFormatter.dll)
public class EastAsiaNumericFormatter ï¼ ICustomFormatter, IFormatProvider
æ¥æ¬èªã ã¨å°æ°ç¹ã¯ç¡è¦ããããæ大ã¯1京æªæºã(è¶
ããã¨System.ArgumentOutOfRangeExceptionã¨ã©ã¼)
(使ãæ¹)
long data = 9890456001200000;
string s0 = Microsoft.International.Formatters.EastAsiaNumericFormatter.FormatWithCulture(
"L", data, null, new System.Globalization.CultureInfo("ja"));
// ä¹é¡å «ç¾ä¹æ¾å åé¡ä¼ç¾å æ¾å壱ç¾å¼æ¾è¬
string s1 =Microsoft.International.Formatters.EastAsiaNumericFormatter.FormatWithCulture(
"Lt", data, null, new System.Globalization.CultureInfo("ja"));
// ä¹å «ä¹ãåäºå ããä¸äºããããã
- Japanese Kana Conversion Libraryï¼æ¥æ¬èªããªå¤æã©ã¤ãã©ãªï¼
(JpnKanaConversion.dll)
(使ãæ¹)
// ãã¼ãåããããª
string s2 =Microsoft.International.Converters.KanaConverter.RomajiToHiragana(
"korehatesutoja.hahaha");
// ããã¯ã¦ãã¨ãã.ã¯ã¯ã¯
// TransliteralConverter.xmlã«ããå¤æã«ã¼ã«ãæå®ããå ´å
var conv = new Microsoft.International.Converters.TransliteralConverter();
conv.Run();
- Japanese Text Alignment Libraryï¼æ¥æ¬èªããã¹ãæ´åã©ã¤ãã©ãªï¼
(JapaneseTextAlignment.dll)
(使ãæ¹)
// çãä¸ã«æ´åããã
var align=new Microsoft.International.JapaneseTextAlignment.TextAlignmentStyleInfo();
align.Style = Microsoft.International.JapaneseTextAlignment.TextAlignmentStyle.Center;
Microsoft.International.JapaneseTextAlignment.Utility.DrawJapaneseString(
e.Graphics, "ããã¯æ¼¢åã®ãã¹ãï¼ï¼ï¼ï¼", this.Font, Color.Red, this.ClientRectangle, align);
â»æåãçãä¸ãåçã§è¡¨ç¤ºãããã¨ãã«ã¯ä¾¿å©ããã
- Japanese Yomi Auto-Completion Libraryï¼æ¥æ¬èªèªã¿ããªãªã¼ãã³ã³ããªã¼ãã©ã¤ãã©ãªï¼
(YomiAutoCompletion.dll)
(使ãæ¹)
public Form2() {
InitializeComponent();
listener = new Microsoft.International.Windows.YomiAutoCompletionListener(textBox1);
}
private Microsoft.International.Windows.YomiAutoCompletionListener listener;
// textBox1ã«IMEãéãã¦å ¥åãã度ã«ãªã¼ãã³ã³ããªã¼ããããããã«ãªã
â»æ軽ã«ãªã¼ãã³ã³ããªã¼ããå®ç¾ã§ãããã¡ãã£ã¨åå¿ãã«ã¶ãããã
(åè)æ¥æ¬ã®åä½
ä¸ãåãç¾ãåãä¸ãåãå
ã京ãå(ã¬ã¤)ãæ¼ï¼ã¸ã§ï¼ãç©°ï¼ã¸ã§ã¦ï¼
ãæºï¼ã³ã¦ï¼ãæ¾ï¼ã«ã³ï¼ãæ£ï¼ã»ã¤ï¼ãè¼ï¼ãµã¤ï¼ã極ï¼ãã§ã¯ï¼
ãææ²³æ²ï¼ã³ã¦ã«ã·ã£ï¼ãé¿å§ç¥ï¼ã¢ã½ã¦ã®ï¼ãé£ç±ä»ï¼ã¢ã¦ã¿ï¼
ãä¸å¯æè°ï¼ãã«ã·ã®ï¼ãç¡é大æ°ï¼ã ãªã§ã¦ã¿ã¤ã¹ã¦ï¼=10ã®69ä¹
MEMO(PageViewCounter:125911)