void InitializeYunmu() { mAllYunmus = new List <Yunmu>(24); Yunmu ymA = new Yunmu("a", btnYunmuA, false); mAllYunmus.Add(ymA); Yunmu ymO = new Yunmu("o", btnYunmuO, false); mAllYunmus.Add(ymO); Yunmu ymE = new Yunmu("e", btnYunmuE, false); mAllYunmus.Add(ymE); Yunmu ymI = new Yunmu("i", btnYunmuI, true); mAllYunmus.Add(ymI); Yunmu ymU = new Yunmu("u", btnYunmuU, true); mAllYunmus.Add(ymU); Yunmu ymV = new Yunmu("ü", btnYunmuV, true); mAllYunmus.Add(ymV); Yunmu ymAI = new Yunmu("ai", btnYunmuAI, false); mAllYunmus.Add(ymAI); Yunmu ymEI = new Yunmu("ei", btnYunmuEI, false); mAllYunmus.Add(ymEI); Yunmu ymUI = new Yunmu("ui", btnYunmuUI, true); mAllYunmus.Add(ymUI); Yunmu ymAO = new Yunmu("ao", btnYunmuAO, false); mAllYunmus.Add(ymAO); Yunmu ymOU = new Yunmu("ou", btnYunmuOU, false); mAllYunmus.Add(ymOU); Yunmu ymIU = new Yunmu("iu", btnYunmuIU, true); mAllYunmus.Add(ymIU); Yunmu ymIE = new Yunmu("ie", btnYunmuIE, true); mAllYunmus.Add(ymIE); Yunmu ymVE = new Yunmu("üe", btnYunmuVE, true); mAllYunmus.Add(ymVE); Yunmu ymER = new Yunmu("er", btnYunmuER, false); mAllYunmus.Add(ymER); Yunmu ymAN = new Yunmu("an", btnYunmuAN, false); mAllYunmus.Add(ymAN); Yunmu ymEN = new Yunmu("en", btnYunmuEN, false); mAllYunmus.Add(ymEN); Yunmu ymIN = new Yunmu("in", btnYunmuIN, true); mAllYunmus.Add(ymIN); Yunmu ymUN = new Yunmu("un", btnYunmuUN, true); mAllYunmus.Add(ymUN); Yunmu ymVN = new Yunmu("ün", btnYunmuVN, true); mAllYunmus.Add(ymVN); Yunmu ymANG = new Yunmu("ang", btnYunmuANG, false); mAllYunmus.Add(ymANG); Yunmu ymENG = new Yunmu("eng", btnYunmuENG, false); mAllYunmus.Add(ymENG); Yunmu ymING = new Yunmu("ing", btnYunmuING, true); mAllYunmus.Add(ymING); Yunmu ymONG = new Yunmu("ong", btnYunmuONG, true); mAllYunmus.Add(ymONG); }
void InitializeYunmu() { mAllYunmus = new List <Yunmu>(24); Yunmu ymA = new Yunmu("a", btnYunmuA, false); mAllYunmus.Add(ymA); Yunmu ymO = new Yunmu("o", btnYunmuO, false); mAllYunmus.Add(ymO); Yunmu ymE = new Yunmu("e", btnYunmuE, false); mAllYunmus.Add(ymE); Yunmu ymI = new Yunmu("i", btnYunmuI, true); mAllYunmus.Add(ymI); Yunmu ymU = new Yunmu("u", btnYunmuU, true); mAllYunmus.Add(ymU); Yunmu ymV = new Yunmu("ü", btnYunmuV, true); mAllYunmus.Add(ymV); Yunmu ymAI = new Yunmu("ai", btnYunmuAI, false); mAllYunmus.Add(ymAI); Yunmu ymEI = new Yunmu("ei", btnYunmuEI, false); mAllYunmus.Add(ymEI); Yunmu ymUI = new Yunmu("ui", btnYunmuUI, true); mAllYunmus.Add(ymUI); Yunmu ymAO = new Yunmu("ao", btnYunmuAO, false); mAllYunmus.Add(ymAO); Yunmu ymOU = new Yunmu("ou", btnYunmuOU, false); mAllYunmus.Add(ymOU); Yunmu ymIU = new Yunmu("iu", btnYunmuIU, true); mAllYunmus.Add(ymIU); Yunmu ymIE = new Yunmu("ie", btnYunmuIE, true); mAllYunmus.Add(ymIE); Yunmu ymVE = new Yunmu("üe", btnYunmuVE, true); mAllYunmus.Add(ymVE); Yunmu ymER = new Yunmu("er", btnYunmuER, false); mAllYunmus.Add(ymER); Yunmu ymAN = new Yunmu("an", btnYunmuAN, false); mAllYunmus.Add(ymAN); Yunmu ymEN = new Yunmu("en", btnYunmuEN, false); mAllYunmus.Add(ymEN); Yunmu ymIN = new Yunmu("in", btnYunmuIN, true); mAllYunmus.Add(ymIN); Yunmu ymUN = new Yunmu("un", btnYunmuUN, true); mAllYunmus.Add(ymUN); Yunmu ymVN = new Yunmu("ün", btnYunmuVN, true); mAllYunmus.Add(ymVN); Yunmu ymANG = new Yunmu("ang", btnYunmuANG, false); mAllYunmus.Add(ymANG); Yunmu ymENG = new Yunmu("eng", btnYunmuENG, false); mAllYunmus.Add(ymENG); Yunmu ymING = new Yunmu("ing", btnYunmuING, true); mAllYunmus.Add(ymING); Yunmu ymONG = new Yunmu("ong", btnYunmuONG, true); mAllYunmus.Add(ymONG); #if DEBUG // validating if (mAllYunmus.Count != 24) { System.Console.WriteLine("!!!Error!!! Num of Yunmu is not correct: " + mAllYunmus.Count); } #endif }