zoukankan      html  css  js  c++  java
  • 打开windows mobile的输入模式

    using System;
    using Microsoft.WindowsCE.Forms;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;


    namespace 手机测试程序
    {
        public partial class Form1 : Form
        {
            InputPanel m_sip;
            public Form1()
            {
                InitializeComponent();
                m_sip = new InputPanel();
            }

            private void Form1_Load(object sender, EventArgs e)
            {
                m_sip.Enabled = true;
                m_sip.CurrentInputMethod = m_sip.InputMethods[0];
            }

            private void button1_Click(object sender, EventArgs e)
            {
                m_sip.Enabled = true;
                m_sip.CurrentInputMethod = m_sip.InputMethods[1];
            }
        }
    }

    记得导入windows ce的引用

    事实上,没有什么要比发现、培养、呵护、调整自己的心智的力量更重要的事情了.........

  • 相关阅读:
    MyCat 数据库读写分离
    python 网络编程-05 socketserver
    python 网络编程-04 文件的传输
    python 网络编程-03 粘包问题及处理
    常用模块-01getopt
    js获取自动获取本电脑IP
    js变态需求
    js正则不能输入中文和英文
    禁止输入中文
    手机号3-4-5
  • 原文地址:https://www.cnblogs.com/appleseed/p/1364540.html
Copyright © 2011-2022 走看看