cmake .. -G "Visual Studio 14 2015" cmake .. -G "Visual Studio 12 2013" cmake .. -G "Visual Studio 9 2008" ...
分类:
Windows开发 时间:
2020-01-15 20:25:59
收藏:
0 评论:
0 赞:
0 阅读:
138
原文: https://www.cnblogs.com/guxin/p/wpf-programmatically-click-a-button.html 一、文章概述 本演示介绍了WPF的静态资源和动态资源的基本使用,并对两者做了简单的比较。静态资源(StaticResource)指的是在程序载入内 ...
分类:
Windows开发 时间:
2020-01-15 19:52:25
收藏:
0 评论:
0 赞:
0 阅读:
79
package main import ( "fmt" "log" "syscall" "unsafe" ) var ( user32 = syscall.MustLoadDLL("user32.dll") procEnumWindows = user32.MustFindProc("EnumWin ...
分类:
Windows开发 时间:
2020-01-15 19:37:37
收藏:
0 评论:
0 赞:
0 阅读:
80
微软终止对Windows Server 2008和2008 R2的支持 如需延长应另外购买 https://www.cnbeta.com/articles/tech/932803.htm 虚拟化兼容性最好的微软操作系统要退休了. 从今天开始,微软不再支持Windows Server 2008和Win ...
分类:
Windows开发 时间:
2020-01-15 19:33:46
收藏:
0 评论:
0 赞:
0 阅读:
92
一、前提条件 已经安装了jdk 1.8 二、下载 中文官网: https://www.elastic.co/cn/ 中文官网下载: https://elasticsearch.cn/download/ 打开官网之后,点击产品,再点击查看所有下载 1. 再点击下载 2. 接着会跳转到这个网址:http ...
分类:
Windows开发 时间:
2020-01-15 19:21:44
收藏:
0 评论:
0 赞:
0 阅读:
78
原文: https://www.cnblogs.com/guxin/p/wpf-programmatically-click-a-button.html 先定义Button按钮并绑定事件。 public void test() { Button btn = new Button(); btn.Cli ...
分类:
Windows开发 时间:
2020-01-15 18:50:31
收藏:
0 评论:
0 赞:
0 阅读:
70
下载地址:http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/ 一步一步安装,如果电脑已经安装git,可以不勾选git 其余都勾选上 出现 不能启动Docker Quickstart Terminal 解决办法 :https ...
分类:
Windows开发 时间:
2020-01-15 18:45:26
收藏:
0 评论:
0 赞:
0 阅读:
72
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 List<FileInfo> lst = new List<FileInfo>(); 6 string strPath = @"E:\aaa"; 7 List<FileInfo> ... ...
分类:
Windows开发 时间:
2020-01-15 18:42:28
收藏:
0 评论:
0 赞:
0 阅读:
93
/* 将图片转换为64位编码 */ //找到文件夹 System.IO.DirectoryInfo dd = new System.IO.DirectoryInfo("C://qq"); //得到该文件夹下所有的文件 System.IO.FileInfo[] file = dd.GetFiles() ...
分类:
Windows开发 时间:
2020-01-15 18:13:23
收藏:
0 评论:
0 赞:
0 阅读:
200
今天要截取一个文档,发现C#中substring默认是将汉字当一个字节来截取的,但是我需要把汉字按照2个字节来算。 比如: str="雪洁hello" 我想要前5个字节的字符,也就是"雪洁h"。 如何处理? C#中substring默认是将汉字当一个字节来截取的,那么如何按字节数截取字符串? 答案: ...
分类:
Windows开发 时间:
2020-01-15 18:11:01
收藏:
0 评论:
0 赞:
0 阅读:
94
1.Install-package MouseKeyHook 2. using Gma.System.MouseKeyHook; using System; namespace ConsoleApp1 { public class MonitorHelper { public static void ...
分类:
Windows开发 时间:
2020-01-15 17:58:35
收藏:
0 评论:
0 赞:
0 阅读:
92
1、下载并安装git for windows客户端 https://git-scm.com/downloads 2、安装好之后配置github的ssh密钥 打开git bash或者git cmd(分别是linux bash和windows cmd命令,git GUI一般没人用), 以git bash ...
分类:
Windows开发 时间:
2020-01-15 17:58:18
收藏:
0 评论:
0 赞:
0 阅读:
196
1. e.clientX | e.clientY 鼠标在可视区域的位置 e.pageX | e.pageY 鼠标在页面中的位置 有兼容性问题 ie9以后才支持 e.pageY = e.clientY + 页面滚动的距离 //处理兼容性问题document.body.scrollLeft || doc ...
分类:
Windows开发 时间:
2020-01-15 17:02:16
收藏:
0 评论:
0 赞:
0 阅读:
106
一、video 参考:https://www.cnblogs.com/rogerwu/p/10072119.html 或 https://www.w3school.com.cn/html5/html_5_video_dom.asp 1、标签属性: <video src="test.mp4" cont ...
分类:
Windows开发 时间:
2020-01-15 16:54:03
收藏:
0 评论:
0 赞:
0 阅读:
96
问题: windows下查看图像是正的,opencv读图像做处理发现图像是非正的 原因: windows自动调正,或者用户进行了旋转。 目标: windows下查看图像是正的,opencv读图像做处理发现图像是正的 解决办法: opencv读图,不断旋转,知道图像保存结果为正。 python代码如下 ...
分类:
Windows开发 时间:
2020-01-15 16:27:06
收藏:
0 评论:
0 赞:
0 阅读:
83
问题描述: google插件跨域请求WebApi相关解决方案 1.ajax解决含登录用户信息 $.ajax({ url: url, type: "POST", timeout: 60000, async: async, data: params, dataType: "json", xhrField ...
分类:
Windows开发 时间:
2020-01-15 16:02:11
收藏:
0 评论:
0 赞:
0 阅读:
103
********** 客户端操作 ********** 标注:监控zabbix_agentd客户端安装对象是win server 2008操作系统 64位。 1、 下载zabbix_agentd监控客户端软件安装包(windows操作系统客户端) 官方下载地址: http://www.zabbix. ...
分类:
Windows开发 时间:
2020-01-15 15:58:29
收藏:
0 评论:
0 赞:
0 阅读:
86
前提:数据表:Xmdt(DataTable类型),字段:Project_Id(varchar); 需求:查询Xmdt数据表中Project_Id = “abc”的数据行; 代码: var rows = Xmdt.AsEnumerable().Where(item => item["Project_I ...
分类:
Windows开发 时间:
2020-01-15 15:00:29
收藏:
0 评论:
0 赞:
0 阅读:
100
奇淫怪巧之给Delphi的PrintDialog增加一个页码选定范围打印的Edit 在Delphi中使用PrintDialog打印对话框的时候,这个控件有三个选项,就是PrintRang那个属性的三个选项,其中有一个选项三,让我们自定义选择页码范围来打印。但是比较蛋疼的是,这个地方选中了之后啥子效果 ...
分类:
Windows开发 时间:
2020-01-15 13:57:10
收藏:
0 评论:
0 赞:
0 阅读:
106
本示例以植物大战僵尸为例, 实现功能为 每1秒让阳光刷新为 9999.本示例使用的游戏版本为 [植物大战僵尸2010年度版], 使用的辅助查看内存地址的工具是 CE. 由于每次启动游戏, 游戏中阳光地址都是变的, 唯一不变的基址1, 我们要通过CE工具找到基址1的地址, 可以算出阳光的地址. 基址2 ...
分类:
Windows开发 时间:
2020-01-15 13:45:16
收藏:
0 评论:
0 赞:
0 阅读:
106