在程序中控制输入法 c#
//需要一个comboBox和一个按钮
namespace ControlInputLanguage
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
InputLanguageCollection ilc = InputLanguage.InstalledInputLanguages;//实例化表示输入法集合的对象
foreach (InputLanguage il in ilc)//循环所有的输入法
汉字转换为拼音 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,
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.Runtime.InteropServices;
using System.Drawing.Imaging;
namespace SaveScreenImage
{
public partial class Form1 : Form
{
[DllImportAttribute("gdi32.dll")]
private static extern bool BitBlt(
IntPtr hdcDest, // 目标DC的句柄
c#读写ini文件
c#读写ini, 纯代码 可以实现读写ini,个人总结
07年ACM 国家集训队论文
07年ACM 国家集训队论文,很适合ACM爱好者观看,
易语言摄像头控制(带源码,通过dll调用)
摄像头操作 通过dll调用,摄像头控制比通过库直接调用成功率高 易语言摄像头控制(带源码,通过dll调用)
2008 赵 静 数学建模与数学实验 (第三版)
2008 赵 静 数学建模与数学实验 (第三版) pdf电子书