码迷,mamicode.com
首页 > Windows程序 > 日排行
76. Minimum Window Substring
最小窗口字串 参考 https://www.cnblogs.com/grandyang/p/4340948.html 可以用数组代替hashmap //unordered_map<char,int> letterCnt;vector letterCnt(256,0); ...
分类:Windows程序   时间:2018-10-08 00:48:25    阅读次数:183
.Net Core者Api 使用版本控制
1,安装Microsoft.AspNetCore.Mvc.Versioning NET Core Mvc中,微软官方提供了一个可用的Api版本控制库Microsoft.AspNetCore.Mvc.Versioning。 2,修改Startup类 这里我们需要在Startup类的ConfigureS ...
分类:Windows程序   时间:2018-10-08 00:50:16    阅读次数:241
winform 版本号比较
Version now_v = new Version(strval); Version load_v = new Version(model.version.ToString()); if (now_v < load_v&& MessageBox.Show("检查到新版本,是否更新?", "Upd... ...
分类:Windows程序   时间:2018-10-08 10:18:27    阅读次数:225
dataGridView设置单元格内容的显示格式CellFormatting
#region 设置单元格内容的显示格式 private void dataGridView_main_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { #region 会诊方式判断 int requestT... ...
分类:Windows程序   时间:2018-10-08 11:21:21    阅读次数:369
Datagridview获取列名为“”的值
int index = dataGridView_main.CurrentRow.Index; //取得选中行的索引 int pe_batch_id = Convert.ToInt32(dataGridView_main.Rows[index].Cells["pe_batch_id"].Value)... ...
分类:Windows程序   时间:2018-10-08 11:23:18    阅读次数:193
asp.net webapi 自定义身份验证
/// /// 验证 /// /// Account API账号 /// TimeStamp 请求时间 /// Sign 所有请求参数 加密 public class AuthFilterOutside : AuthorizeAttribute { //重写基类的验证方式,加入我们自定义的Ticke... ...
分类:Windows程序   时间:2018-10-08 11:28:21    阅读次数:216
jhipster安装_Windows
1:安装 Node.js lts版本的 https://nodejs.org/en/ 2:安装Yarn https://yarn.bootcss.com/docs/install.html 3:修改yarn库路径 yarn config set cache-folder "你自己的缓存文件夹" 5: ...
分类:Windows程序   时间:2018-10-08 12:06:17    阅读次数:331
windows与linux查看服务器信息
windows与linux查看服务器信息
分类:Windows程序   时间:2018-10-08 12:06:49    阅读次数:203
结对编程---带界面的数学题练习题(强烈安利windowbuilder)
一:个人项目模块-出题模块 本次结对项目是以队友的个人项目为基础,只是开始我们是以c++写的,然后由于结对项目中需要短信验证码功能,而阿里云没有c++的接口,再加上我们了解过java的UI界面,于是就把原个人项目改为了java。改为java版的代码的主要就是生成题目的类。 之前队友的个人项目是全都在 ...
分类:Windows程序   时间:2018-10-08 12:59:10    阅读次数:502
c# 类
构造函数 类的 构造函数 是类的一个特殊的成员函数,当创建类的新对象时执行。 构造函数的名称与类的名称完全相同,它没有任何返回类型。 默认的构造函数没有任何参数。但是如果你需要一个带有参数的构造函数可以有参数,这种构造函数叫做参数化构造函数。这种技术可以帮助你在创建对象的同时给对象赋初始值,具体请看 ...
分类:Windows程序   时间:2018-10-08 13:00:08    阅读次数:182
Windows API 第二篇 SHGetSpecialFolderPath
BOOL SHGetSpecialFolderPath( HWND hwndOwner, LPTSTR lpszPath, int nFolder, BOOL fCreate ); 参数解释: hwndOwner:Handle to the owner window the client shoul ...
分类:Windows程序   时间:2018-10-08 15:03:22    阅读次数:248
win10:angular-cli安装及build项目
win10 angular-cli安装及build项目: https://blog.csdn.net/rongyongfeikai2/article/details/53084473 node.js安装: https://blog.csdn.net/wing_93/article/details/7 ...
分类:Windows程序   时间:2018-10-08 15:54:12    阅读次数:227
Windows API 第12篇 MoveFile
MoveFile可以移动文件,更名文件,移动目录(包括目录下的所有文件以及子目录)。函数定义:BOOL MoveFile( LPCTSTR lpExistingFileName, // file name LPCTSTR lpNewFileName // new file name);参数不介绍了, ...
分类:Windows程序   时间:2018-10-08 16:01:07    阅读次数:160
C# 获取汉字的拼音首字母(转)
原文:https://blog.csdn.net/younghaiqing/article/details/62417269 一种是把所有中文字符集合起来组成一个对照表;另一种是依照汉字在Unicode编码表中的排序来确定拼音的首字母。碰到多音字时就以常用的为准(第一种方法中可以自行更改,方法为手动 ...
分类:Windows程序   时间:2018-10-08 16:01:21    阅读次数:173
C# 其他的Url 文件的路径转化为二进制流
//将虚拟路径转化为文件的路径然后最后转化为文件流 public ActionResult SaveImage(string path) { var url =System.Web.HttpContext.Current.Request.PhysicalApplicationPath + path; ...
分类:Windows程序   时间:2018-10-08 16:01:28    阅读次数:936
c# 批量获取zoomeye数据
1 using Newtonsoft.Json; 2 using Newtonsoft.Json.Linq; 3 using System; 4 using System.Collections.Generic; 5 using System.IO; 6 using System.Net; 7 us... ...
分类:Windows程序   时间:2018-10-08 16:35:28    阅读次数:281
c# 批量添加awvs默认扫描
1 using Newtonsoft.Json; 2 using Newtonsoft.Json.Linq; 3 using System; 4 using System.IO; 5 using System.Net; 6 using System.Net.Security; 7 using Sys... ...
分类:Windows程序   时间:2018-10-08 16:36:17    阅读次数:216
Windows API 第17篇 GetLogicalDriveStrings 获取本机所有逻辑驱动器,以根目录的形式表示
函数原型:DWORD GetLogicalDriveStrings( DWORD nBufferLength, // size of buffer LPTSTR lpBuffer // drive strings buffer );说明:参数不多讲,需要注意函数返回存入lpBuffer空间的字符个数 ...
分类:Windows程序   时间:2018-10-08 17:22:10    阅读次数:219
Windows API 23 篇 WTSQuerySessionInformation
函数原型:BOOLWINAPIWTSQuerySessionInformationW( IN HANDLE hServer, IN DWORD SessionId, IN WTS_INFO_CLASS WTSInfoClass, __deref_out_bcount(*pBytesReturned) ...
分类:Windows程序   时间:2018-10-08 18:04:18    阅读次数:1667
windows一键安装包的升级禅道
如果你现在使用的是windows xampp 集成运行环境,那么请按照下面的步骤进行: 一、升级步骤: 然后访问http://localhost/zentao/upgrade.php,按照页面提示进行升级就可以了。如果是88端口的话,路径是http://localhost:88/zentao/upg ...
分类:Windows程序   时间:2018-10-08 18:09:36    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!