首页 > Windows开发
github 对外 api
github 对外 api https://api.github.com/ details { "current_user_url": "https://api.github.com/user", "current_user_authorizations_html_url": "https://gi ...
分类:Windows开发   时间:2021-03-04 14:54:57    收藏:0  评论:0  赞:0  阅读:35
C# Winform 定义Models字段 属性限制输入
http://www.voidcn.com/article/p-ygmrcitj-bye.html using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; pu ...
分类:Windows开发   时间:2021-03-04 14:54:07    收藏:0  评论:0  赞:0  阅读:46
C# 获取字符串 字节的长度
https://www.cnblogs.com/xiarongrong/p/5168713.html /// <summary> /// 获取字符串字节长度 /// </summary> /// <param name="str"></param> /// <returns></returns> p ...
分类:Windows开发   时间:2021-03-04 14:53:18    收藏:0  评论:0  赞:0  阅读:17
WPF中播放声音
播放系统自带声音 在System.Media命名空间中 SystemSounds.Asterisk.Play(); SystemSounds.Beep.Play(); SystemSounds.Exclamation.Play(); SystemSounds.Hand.Play(); SystemS ...
分类:Windows开发   时间:2021-03-04 14:50:48    收藏:0  评论:0  赞:0  阅读:70
Datagridview 表头常规
this.dataGridView1.ReadOnly = true; this.dataGridView1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; this.dataG ...
分类:Windows开发   时间:2021-03-04 10:20:05    收藏:0  评论:0  赞:0  阅读:29
deepin v20.1用自带wine运行war3
deepin自带wine5,如何使用它来运行一个windows程序,比如war3?1,默认wine的位置假设现在的用户名为abc,那么它的位置应该是/home/abc/.deepinwine/deepin-wine5查看~/.deepinwine/deepin-wine5/bin为了使用方便,我们可以给wine命令创建一个软连接到/usr/local/bin/下sudoln-s~/.deepinw
分类:Windows开发   时间:2021-03-04 10:16:27    收藏:0  评论:0  赞:0  阅读:85
C# JSON动态解析
Dictionary<string, object> suggestions = JSONSerializer.Deserialize<Dictionary<string, object>>(jsonStudent) if (suggestions.Keys.Contains("UserId")){ ...
分类:Windows开发   时间:2021-03-04 10:07:10    收藏:0  评论:0  赞:0  阅读:84
H+ bootstrap框架中 多窗体的菜单底部有一个白线问题
最近在使用 H+ bootstrap框架中 发现 多窗体的菜单底部有一个白线问题,多少有些不完美。 解决方案: h+/css/style.css 在这个文件中 /*CONTENTTABS*/ .content-tabs { position: relative; height: 42px; /* 菜 ...
分类:Windows开发   时间:2021-03-03 19:20:28    收藏:0  评论:0  赞:0  阅读:46
VScode:配置一键编译运行(Windows+MinGW)
vscode用了一段时间了, 发现确实比较好用,不过有个地方让人很不爽,就是它默认只有编译的功能(按 Ctrl+Shift+B), 没有自动执行的功能。要想执行编译后的程序查看结果,还要每次在PowerShell下写个.\xxx.exe, 烦死了,今天实在是受不了,终于找到了解决办法。 主要参考了这 ...
分类:Windows开发   时间:2021-03-03 19:18:07    收藏:0  评论:0  赞:0  阅读:41
C# 获取当前日期时间
C#获取时间 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 //获取日期+时间 DateTime.Now.ToString(); // 2008-9-4 20:02:10 ...
分类:Windows开发   时间:2021-03-03 15:06:47    收藏:0  评论:0  赞:0  阅读:20
C#关键点_1
Console.WriteLine(); Console.ReadKey(); CW再按两次Tap java编译的快捷键是F11,其他是F5 ...
分类:Windows开发   时间:2021-03-03 15:04:09    收藏:0  评论:0  赞:0  阅读:21
C# Elasticsearch帮助类
ElasticsearchConfig /// <summary> /// ES 连接配置 /// </summary> public class ElasticsearchConfig { /// <summary> /// 节点列表 /// </summary> public IEnumerab ...
分类:Windows开发   时间:2021-03-03 15:01:46    收藏:0  评论:0  赞:0  阅读:39
ASP.NET Core - 实现自定义WebApi模型验证
https://www.cnblogs.com/lex-wu/p/11265458.html ...
分类:Windows开发   时间:2021-03-03 14:57:47    收藏:0  评论:0  赞:0  阅读:23
AutoCAD.Net/C#.Net QQ群:193522571 AutoCAD中重写命令,在命令执行前进行拦截并进行处理
private static void CurrentDocument_CommandWillStart(object sender, CommandEventArgs e) { string sCmdName = e.GlobalCommandName.ToUpper(); if (sCmdNam ...
分类:Windows开发   时间:2021-03-03 14:50:18    收藏:0  评论:0  赞:0  阅读:33
对delphi Tcxgrid控件的使用总结
1.打开查找界面。 2.连接Tdatasource ...
分类:Windows开发   时间:2021-03-03 14:35:07    收藏:0  评论:0  赞:0  阅读:24
未能找到路径“E:\HRPNEW\HRP\SpecialDev\NSYYJZ.WebApi\bin\roslyn\csc.exe”的一部分。
1.报错截图 2.解决办法 罪魁祸首就是NUGET里加载的两个组建: Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0 Microsoft.Net.Compilers 因为存在依赖关系,卸载时按从上到下的顺序卸载。 把相关项目的这两个程 ...
分类:Windows开发   时间:2021-03-02 20:03:59    收藏:0  评论:0  赞:0  阅读:46
WINUSB枚举过程实例
//1.标准请求:获取设备描述符 Handle setup packet : 80, 6, 0, 1, 0, 0, 40, 0 std dev req 6 Get desc 1: 64bytes //2.标准请求:设置设备地址 Handle setup packet : 0, 5, 9, 0, 0, ...
分类:Windows开发   时间:2021-03-02 16:09:12    收藏:0  评论:0  赞:0  阅读:106
c# 操作iis发布网站
public class IISManager { /// <summary> /// 创建一个站点 /// </summary> /// <param name="name">站点名称</param> /// <param name="physicalPath">项目所在路径</param> // ...
分类:Windows开发   时间:2021-03-02 14:42:21    收藏:0  评论:0  赞:0  阅读:35
wpf dev next row
int idx = view1.FocusedRowHandle; view1.DeleteRow(idx); //datas.Remove(pat.First()); //view1.MoveNextRow(); var rHList = view1.GetSelectedRowHandles() ...
分类:Windows开发   时间:2021-03-02 14:36:28    收藏:0  评论:0  赞:0  阅读:16
window jenkins + sonarqube + sonar-scanner 最佳实践
安装SonarQube 安装Sonar-Scanner 安装jenkins 配置Jenkins 打开SonarQube(localhost:9000),头像-我的账号-安全,填写令牌名称jenkins,生成token 打开Jenkins(localhost:8080),Manager Jenkins ...
分类:Windows开发   时间:2021-03-02 14:33:33    收藏:0  评论:0  赞:0  阅读:26
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!