• 大小: 0.05M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签:

资源简介

C#汉字转拼音,输入汉字,直接转换成拼音字母,详见下图

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Text.Regularexpressions;

namespace ChToPhoneticize
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        //建立一个公共类,用于转换汉字
        public class ChnToPh
        {
            //定义拼音区编码数组
            private static int[] getValue = new int[]
            {
                -20319-20317-20304-20295-20292-20283-20265-20257-20242-20230-20051-20036
                -20032-20026-20002-19990-19986-19982-19976-19805-19784-19775-19774-19763
                -19756-19751-19746-19741

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-21 13:46  汉字转拼音\
     目录           0  2013-01-21 13:46  汉字转拼音\ChToPhoneticize\
     文件         935  2008-12-11 15:15  汉字转拼音\ChToPhoneticize.sln
     文件       13824  2009-02-10 12:58  汉字转拼音\ChToPhoneticize.suo
     目录           0  2013-01-21 13:46  汉字转拼音\ChToPhoneticize\bin\
     目录           0  2013-01-21 13:46  汉字转拼音\ChToPhoneticize\bin\Debug\
     文件       19968  2009-02-10 12:56  汉字转拼音\ChToPhoneticize\bin\Debug\ChToPhoneticize.exe
     文件       32256  2009-02-10 12:56  汉字转拼音\ChToPhoneticize\bin\Debug\ChToPhoneticize.pdb
     文件       14328  2009-02-10 12:57  汉字转拼音\ChToPhoneticize\bin\Debug\ChToPhoneticize.vshost.exe
     文件         490  2007-07-21 01:33  汉字转拼音\ChToPhoneticize\bin\Debug\ChToPhoneticize.vshost.exe.manifest
     文件        3776  2008-12-11 16:00  汉字转拼音\ChToPhoneticize\ChToPhoneticize.csproj
     文件       10865  2010-08-18 17:51  汉字转拼音\ChToPhoneticize\Form1.cs
     文件        4851  2008-12-11 16:05  汉字转拼音\ChToPhoneticize\Form1.Designer.cs
     文件        5814  2008-12-11 16:05  汉字转拼音\ChToPhoneticize\Form1.resx
     目录           0  2013-01-21 13:46  汉字转拼音\ChToPhoneticize\obj\
     目录           0  2013-01-21 13:46  汉字转拼音\ChToPhoneticize\obj\Debug\
     文件        3024  2009-02-10 12:57  汉字转拼音\ChToPhoneticize\obj\Debug\ChToPhoneticize.csproj.FileListAbsolute.txt
     文件         847  2008-12-11 16:52  汉字转拼音\ChToPhoneticize\obj\Debug\ChToPhoneticize.csproj.GenerateResource.Cache
     文件       19968  2009-02-10 12:56  汉字转拼音\ChToPhoneticize\obj\Debug\ChToPhoneticize.exe
     文件         180  2008-12-11 16:52  汉字转拼音\ChToPhoneticize\obj\Debug\ChToPhoneticize.Form1.resources
     文件       32256  2009-02-10 12:56  汉字转拼音\ChToPhoneticize\obj\Debug\ChToPhoneticize.pdb
     文件         180  2008-12-11 16:52  汉字转拼音\ChToPhoneticize\obj\Debug\ChToPhoneticize.Properties.Resources.resources
     目录           0  2012-05-02 09:55  汉字转拼音\ChToPhoneticize\obj\Debug\Refactor\
     目录           0  2012-05-02 09:55  汉字转拼音\ChToPhoneticize\obj\Debug\TempPE\
     文件         496  2008-12-11 15:14  汉字转拼音\ChToPhoneticize\Program.cs
     目录           0  2013-01-21 13:46  汉字转拼音\ChToPhoneticize\Properties\
     文件        1362  2008-12-11 15:14  汉字转拼音\ChToPhoneticize\Properties\AssemblyInfo.cs
     文件        2880  2008-12-11 15:14  汉字转拼音\ChToPhoneticize\Properties\Resources.Designer.cs
     文件        5612  2008-12-11 15:14  汉字转拼音\ChToPhoneticize\Properties\Resources.resx
     文件        1100  2008-12-11 15:14  汉字转拼音\ChToPhoneticize\Properties\Settings.Designer.cs
     文件         249  2010-08-18 17:51  汉字转拼音\ChToPhoneticize\Properties\Settings.settings
............此处省略0个文件信息

评论

共有 条评论