资源简介

windows7 多点触控编程样例C#实现

资源截图

代码片段和文件信息

using System;
using System.Drawing;
using System.Windows.Forms;

#region Added using Statements

using Windows7.Multitouch;
using Windows7.Multitouch.Win32Helper;

#endregion

namespace MultiTouch
{
    public partial class frmMain : Form
    {
        #region Global Variable

        // Create a touch handler.
        private TouchHandler ThisTouch;

        #endregion

        #region Listing 9-2

        public frmMain()
        {
            // Perform the standard initialization.
            InitializeComponent();

            // Check for a touch device.
            if (TouchHandler.DigitizerCapabilities.IsMultiTouchReady)
            {
                // Create the touch handler object.
                ThisTouch = Factory.CreateHandler

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-01-20 01:53  MultiTouch\
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\
     文件         872  2010-09-03 07:55  MultiTouch\MultiTouch.sln
     文件       15872  2010-10-29 04:48  MultiTouch\MultiTouch.suo
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\bin\
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\bin\Debug\
     文件         490  2010-03-18 11:39  MultiTouch\MultiTouch\bin\Debug\MultiTouch.vshost.exe.manifest
     文件       53047  2010-09-03 21:59  MultiTouch\MultiTouch\bin\Debug\Windows7.Multitouch.xml
     目录           0  2010-09-03 07:55  MultiTouch\MultiTouch\bin\Release\
     文件        2773  2010-10-29 04:48  MultiTouch\MultiTouch\frmMain.cs
     文件        2861  2010-09-04 04:49  MultiTouch\MultiTouch\frmMain.Designer.cs
     文件        5817  2010-09-04 04:49  MultiTouch\MultiTouch\frmMain.resx
     文件        3604  2010-09-04 03:53  MultiTouch\MultiTouch\MultiTouch.csproj
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\obj\
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\obj\x86\
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\obj\x86\Debug\
     文件        4501  2010-09-04 02:57  MultiTouch\MultiTouch\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        5768  2010-10-29 04:48  MultiTouch\MultiTouch\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         308  2010-09-04 04:49  MultiTouch\MultiTouch\obj\x86\Debug\GenerateResource.read.1.tlog
     文件        1116  2010-09-04 04:49  MultiTouch\MultiTouch\obj\x86\Debug\GenerateResource.write.1.tlog
     文件        1113  2010-10-29 04:45  MultiTouch\MultiTouch\obj\x86\Debug\MultiTouch.csproj.FileListAbsolute.txt
     文件         180  2010-09-04 04:49  MultiTouch\MultiTouch\obj\x86\Debug\MultiTouch.frmMain.resources
     文件         180  2010-09-04 03:53  MultiTouch\MultiTouch\obj\x86\Debug\MultiTouch.Properties.Resources.resources
     文件        6997  2010-09-04 03:53  MultiTouch\MultiTouch\obj\x86\Debug\ResolveAssemblyReference.cache
     目录           0  2010-09-03 07:55  MultiTouch\MultiTouch\obj\x86\Debug\TempPE\
     文件         504  2010-09-03 07:55  MultiTouch\MultiTouch\Program.cs
     目录           0  2011-01-20 01:53  MultiTouch\MultiTouch\Properties\
     文件        1450  2010-09-03 07:55  MultiTouch\MultiTouch\Properties\AssemblyInfo.cs
     文件        2846  2010-09-03 07:55  MultiTouch\MultiTouch\Properties\Resources.Designer.cs
     文件        5612  2010-09-03 07:55  MultiTouch\MultiTouch\Properties\Resources.resx
     文件        1093  2010-09-03 07:55  MultiTouch\MultiTouch\Properties\Settings.Designer.cs
............此处省略1个文件信息

评论

共有 条评论