C#/表格申请 [英] C#/Form Application

查看:101
本文介绍了C#/表格申请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

int code =(int)e.KeyChar - 32

int code = (int)e.KeyChar - 32

" int"是什么意思?之后=?

What is the meaning of "int" after =?

为什么要写呢?




推荐答案

你可以从int中减去一个char,因为e.KeyCode是一个char,而32是一个int。
Well you can subtract a char from an int as e.KeyCode is a char while 32 is an int.


这篇关于C#/表格申请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆