Giter Site home page Giter Site logo

csharp-softkeyboard's Introduction

C# SoftKeyboard

C# 软键盘输入框,可以用来在触屏上替代普通的输入框。

包含两个 class : SoftKeyboard9 (9键)和 SoftKeyboard26 (26键)

SoftKeyboard9

SoftKeyboard9 是9键(数字键)输入框,只能用于输入正整数或正小数,得到 string 类型,而不是 int 类型。

SoftKeyboard9 的调用方式举例如下:

string age = "";
if ( SoftKeyboard.SoftKeyboard9.Show("请输入年龄", ref age) ) {
    // 用户点了“完成”,则执行这里
    Console.WriteLine("你的年龄是:" + age);
} else {
    // 用户点了“取消”,则执行这里
}
fig1
图1: SoftKeyboard9 的界面

SoftKeyboard26

SoftKeyboard26 是26键(全键)输入框,可用于输入大小写26个字母、数字、部分特殊符号。

SoftKeyboard26 的调用方式与 SoftKeyboard9 相同。

fig2
图2: SoftKeyboard26 的界面
fig3
图3: SoftKeyboard26 的界面(切换到了数字/符号输入模式)

csharp-softkeyboard's People

Contributors

wangxuan95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

csharp-softkeyboard's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.