//for ( i = 0; i < currentBtn.Text.Length; i++)//遍历字符串中每一个字符
//{
// //hanziCount = //如果检查的字符是汉字则计数器加1
// // P_regex.IsMatch(currentBtn.Text[i].ToString()) ? ++hanziCount : hanziCount;
// if (P_regex.IsMatch(currentBtn.Text[i].ToString()))
// {
// hanziCount++;
// }
// else if (Regex.IsMatch(currentBtn.Text[i].ToString(), "[A-Z]")) //是否为大写 如大写计数器加1;
// {
// UC++;
// }
// else if (Regex.IsMatch(currentBtn.Text[i].ToString(), "[a-z]")) //是否为小写 如小写计数器加1;
// {
// SC++;
// }
// else //if (Regex.IsMatch(currentBtn.Text[i].ToString(), "[0-9]")) //是否为数字 如数字计数器加1;
// {
// numLetter++;
// }
//}
//{
// //hanziCount = //如果检查的字符是汉字则计数器加1
// // P_regex.IsMatch(currentBtn.Text[i].ToString()) ? ++hanziCount : hanziCount;
// if (P_regex.IsMatch(currentBtn.Text[i].ToString()))
// {
// hanziCount++;
// }
// else if (Regex.IsMatch(currentBtn.Text[i].ToString(), "[A-Z]")) //是否为大写 如大写计数器加1;
// {
// UC++;
// }
// else if (Regex.IsMatch(currentBtn.Text[i].ToString(), "[a-z]")) //是否为小写 如小写计数器加1;
// {
// SC++;
// }
// else //if (Regex.IsMatch(currentBtn.Text[i].ToString(), "[0-9]")) //是否为数字 如数字计数器加1;
// {
// numLetter++;
// }
//}