![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
化虚为实
除了干饭还是干饭的未秃头程序员
展开
-
C# Windows API 去掉窗口标题栏 以及边框
写这篇博客的目的,就是防止忘记找不到。实际项目中使用,测试有效。调用:IntPtr CurrentAppHandle = GetForegroundWindow();HandleRef ParentHandle = new HandleRef(this, CurrentAppHandle);// 初始化窗口风格IntPtr Style = GetWindowLongPtr(C...原创 2019-06-21 09:39:26 · 3872 阅读 · 1 评论 -
Unity 监听键盘输入数字
Unity版本:Unity2019.1.5 脚本运行时版本:.NET 4.x EquivalentAPI兼容性级别:.NET 4.x使用正则表达式提取数字,然后强制解析为Int型数据。 /// <summary> /// 监听键盘输入数字 /// </summary> /// <returns></ret...原创 2019-08-16 14:16:17 · 2487 阅读 · 0 评论