protected void tbxSUPNAME_TextChanged(object sender, EventArgs e) { tbxSTR2.Text = PinYinUtil.GetCodstring(tbxSUPNAME.Text); }
public void GetFirstLetterTest(string chStr, string letter) { var actual = PinYinUtil.GetCodstring(chStr); Assert.Equal(letter, actual); }