最近在做一个虚拟键盘功能,代替鼠标键盘操作,效果如下:
实现思路:
1 构建中文-拼音 数据库,我用的是SQLite数据库,如
2 构建布局,如效果图
代码:
数据库代码文件 SqlHandler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SQLite;
using System.Configuration;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace TestKeyBord
{
public class SqlHandler
{