登录
首页 » C# » C# 汉字添加拼音 带声调实例源码

C# 汉字添加拼音 带声调实例源码

于 2015-02-27 发布
0 163
下载积分: 1 下载次数: 0

代码说明:

C# 汉字添加拼音 带声调实例源码

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • packet-capture-code
    网络数据包抓取代码,压缩包里面的代码比较全,没有解压密码。(network packet capture code,when you extract archive,you no need put in keys.)
    2020-07-09 17:18:55下载
    积分:1
  • QLocalSocketDemo
    实现了两个客户机程序与服务器程序间的进程通信(本机)。客户机与服务器间的通信是双向的,采用QLocalServer与QLocalSocket实现。(The realization of the two procedures and the client server inter-process communication (local). Client and server communication is a two-way, using QLocalServer with QLocalSocket achieve.)
    2020-12-29 17:09:00下载
    积分:1
  • C和指针
    说明:  学习c语言必读的一本书,指针讲解的很透彻。(c program language pointer)
    2020-06-24 06:20:02下载
    积分:1
  • anklysxskproclss
    这是一篇基于循环延迟分集的分组预编码和空时频编码技术方面的典型文章()
    2018-06-07 05:09:33下载
    积分:1
  • GetIPDlg
    通过注册表获取计算机网络信息,如IP、掩码、计算机名和DNS信息(through access to the registry computer network information, such as IP, mask, computers and DNS information)
    2007-05-15 11:55:05下载
    积分:1
  • PtoP-CHAT
    点对点聊天工具,完整的工程,学习网络编程的可以参考(POINT TO POINT CHAT)
    2013-05-05 00:40:52下载
    积分:1
  • c# 扫描IP Http Header
    c# 扫描IP Http Headerusing 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.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
    2014-06-23下载
    积分:1
  • MY_ping_command(1)
    Visual C++ 平台下实现ping命令过程,包括打包发送接受解包等 对网络编程初期学习者很有帮助
    2011-04-23 12:55:18下载
    积分:1
  • OrderDishes
    有关Socket网络编程的一些基础知识,对初学者有很好的帮助!(Socket network programming basics, good for beginners!)
    2012-11-29 15:36:50下载
    积分:1
  • 应用层包过滤防火墙 一个简单的应用层包过滤防火墙实现 packet-filtering-firewall-master
    应用层包过滤防火墙 一个简单的应用层包过滤防火墙实现 Qt/SQLite/NetFilter 编译过程可使用QtCreator编译,也可使用命令行 sudo qmake && make 来编译。 运行则执行 sudo ./firewall 即可。(Application Layer Packet Filtering Firewall A Simple Application Layer Packet Filter Firewall to Implement Qt/SQLite/NetFilter The compilation process can be compiled using QtCreator or the command line sudo qmake & make. Run sudo. / firewall.)
    2020-06-22 00:00:02下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载