• 大小: 138KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-19
  • 语言: C#
  • 标签: 虚拟键盘  

资源简介

wpf 触控下的虚拟键盘,支持中英文切换,根据textbox显示虚拟键盘位置

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using System.Diagnostics;

namespace keyboard
{
    /// 
    /// App.xaml 的交互逻辑
    /// 

    public partial class App : Application
    {
        protected override void onstartup(StartupEventArgs e)
        {
            Process thisProc = Process.GetCurrentProcess();
          
            if (Process.GetProcessesByName(thisProc.ProcessName).Length > 1)
            {
               
               // MessageBox.Show(“Application is already running.“);
                Application.Current.Shutdown();
                return;
            }

            base.onstartup(e);

        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-09-28 15:14  keyboard\
     目录           0  2016-09-28 15:14  keyboard\.vs\
     目录           0  2016-09-28 15:14  keyboard\.vs\keyboard\
     目录           0  2016-09-28 15:14  keyboard\.vs\keyboard\v14\
     文件       82944  2016-10-10 11:46  keyboard\.vs\keyboard\v14\.suo
     目录           0  2016-09-29 10:05  keyboard\keyboard\
     文件         866  2012-11-23 11:11  keyboard\keyboard.sln
     文件       40448  2015-01-20 13:58  keyboard\keyboard.suo
     文件         144  2012-11-27 15:45  keyboard\keyboard\app.config
     文件         319  2012-11-23 11:11  keyboard\keyboard\App.xaml
     文件         795  2012-11-26 16:08  keyboard\keyboard\App.xaml.cs
     目录           0  2014-02-12 16:51  keyboard\keyboard\bin\
     目录           0  2016-09-29 09:58  keyboard\keyboard\bin\Debug\
     文件       45568  2016-10-10 11:46  keyboard\keyboard\bin\Debug\keyboard.exe
     文件         144  2012-11-27 15:45  keyboard\keyboard\bin\Debug\keyboard.exe.config
     文件       36352  2016-10-10 11:46  keyboard\keyboard\bin\Debug\keyboard.pdb
     文件       22696  2016-10-10 11:46  keyboard\keyboard\bin\Debug\keyboard.vshost.exe
     文件         144  2012-11-27 15:45  keyboard\keyboard\bin\Debug\keyboard.vshost.exe.config
     文件         490  2012-06-06 02:06  keyboard\keyboard\bin\Debug\keyboard.vshost.exe.manifest
     文件       14336  2012-11-27 09:19  keyboard\keyboard\bin\Debug\MouseKeyboardLibrary.dll
     目录           0  2015-01-20 14:32  keyboard\keyboard\bin\Release\
     目录           0  2015-01-20 11:53  keyboard\keyboard\Images\
     文件        1362  2015-01-20 11:53  keyboard\keyboard\Images\check.png
     文件        4744  2015-01-20 11:59  keyboard\keyboard\keyboard.csproj
     文件       48828  2016-09-29 09:59  keyboard\keyboard\MainWindow.xaml
     文件       19411  2016-09-29 10:05  keyboard\keyboard\MainWindow.xaml.cs
     目录           0  2014-02-12 16:51  keyboard\keyboard\obj\
     目录           0  2014-02-12 16:51  keyboard\keyboard\obj\x86\
     目录           0  2016-09-29 10:05  keyboard\keyboard\obj\x86\Debug\
     文件        2310  2016-09-28 18:06  keyboard\keyboard\obj\x86\Debug\App.g.cs
     文件        2310  2016-09-28 18:06  keyboard\keyboard\obj\x86\Debug\App.g.i.cs
............此处省略27个文件信息

评论

共有 条评论