using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. ...
分类:
Windows开发 时间:
2020-12-18 11:50:37
收藏:
0 评论:
0 赞:
0 阅读:
29
学习网址 Getting Started with AEM Sites - WKND Tutorial 从左导航栏的WKND Tutorial Overview从git上拉项目,只不过我是从gitee里找来拉的。拉了项目,第二步Project Setup就可以不用做了 Component Basic ...
分类:
Windows开发 时间:
2020-12-18 10:23:50
收藏:
0 评论:
0 赞:
0 阅读:
196
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OFFICECORE = Microsoft.Office.Core; using POWERPOINT = Mic ...
分类:
Windows开发 时间:
2020-12-18 10:16:02
收藏:
0 评论:
0 赞:
0 阅读:
30
function GetTimeStr(Sec: Integer): string; begin if Sec >= 3600 then Result := Format('%d hour %d min %d sec', [Sec div 3600, Sec mod 3600 div 60, Sec ...
分类:
Windows开发 时间:
2020-12-18 10:08:06
收藏:
0 评论:
0 赞:
0 阅读:
32
1. 环境 window10 家庭版; JDK 1.8 maven 3.25 Flink源码 IDEA以及安装scala插件 说明:Flink获取的方式可以参考**阅读GitHub源码的正确打开方式**,通过这种方式可以使用git切换版本以及查看提交记录,极大方便我们根据需要编译flink。 2. ...
分类:
Windows开发 时间:
2020-12-18 10:06:04
收藏:
0 评论:
0 赞:
0 阅读:
75
问题 FFmpeg在处理视频、音频时,对路径或文件名中有空格时,默认会按空格进行切割,导致参数错误。解决起来其实也很简单,记录备忘如下。 在c#中的处理 其实就是在路径(含文件名)两边再加一个双引号。 以FFmpeg剪切视频为例,参数可以写成如下 string strArguments="-ss 0 ...
分类:
Windows开发 时间:
2020-12-18 10:01:28
收藏:
0 评论:
0 赞:
0 阅读:
60
C# 关键字extern用法 修饰符用于声明在外部实现的方法。extern 修饰符的常见用法是在使用 Interop 服务调入非托管代码时与 DllImport 属性一起使用;在这种情况下,该方法还必须声明为 static,如下面的示例所示:[DllImport("avifil32.dll")]pr ...
分类:
Windows开发 时间:
2020-12-17 22:16:46
收藏:
0 评论:
0 赞:
0 阅读:
36
作者:Casey McQuillan 译者:精致码农 原文:http://dwz.win/YVW 说明:原文比较长,翻译时精简了很多内容,对于不重要的细枝末节只用了一句话概括,但不并影响阅读。 你还记得上一次一个无足轻重的细节点燃你思考火花的时刻吗?作为一个软件工程师,我习惯于专注于一个从未见过的微 ...
分类:
Windows开发 时间:
2020-12-17 22:14:11
收藏:
0 评论:
0 赞:
0 阅读:
37
逆变,协变 定义: 逆变 :指能够使用比原始指定的派生类型的 派生程度更小(不太具体的)的类型。 协变 :能够使用比原始指定的派生类型的 派生程度更大(更具体的)的类型。 看了上面一脸懵逼,下面会解释 示例 这是用来讲解例子的两个类 public class Father { public stri ...
分类:
Windows开发 时间:
2020-12-17 21:03:37
收藏:
0 评论:
0 赞:
0 阅读:
39
API测试是QA小组测试工作的一个丰富的领域。当你在开发Web或移动应用程序时,将API测试作为QA测试计划的一部分,因为API会在应用程序之间收集,发送和交换数据。 API对许多应用程序都是必不可少的。考虑一下每周使用多少个移动和网络银行,医疗保健和娱乐应用程序。这些应用程序中的每一个都依赖于从一 ...
分类:
Windows开发 时间:
2020-12-17 17:28:18
收藏:
0 评论:
0 赞:
0 阅读:
33
使用iText7的pdfHtml库,将html转成pdf,官方:https://itextpdf.com/en/demos/convert-html-css-to-pdf-free-online; 官方示例: using System.IO; using iText.Html2pdf; namesp ...
分类:
Windows开发 时间:
2020-12-17 17:27:21
收藏:
0 评论:
0 赞:
0 阅读:
398
namespace WpfApp6.ViewModel { using System; using System.Windows.Input; /// <summary> /// 命令基类 /// </summary> public class BaseCommand : ICommand { pu ...
分类:
Windows开发 时间:
2020-12-17 15:46:04
收藏:
0 评论:
0 赞:
0 阅读:
49
事件绑定有至少两种方法 这里只会讲这两种,其他方法请自行研究 CallMethodAction View: <Button Content="{Binding ButtonContent}" x:Name="button" > <b:Interaction.Triggers> <b:EventTri ...
分类:
Windows开发 时间:
2020-12-17 15:30:30
收藏:
0 评论:
0 赞:
0 阅读:
58
RowPrePaint事件: private void dataGridView1_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e) {if ("不存在" == this.dataGridView1.Rows[e.RowIn ...
分类:
Windows开发 时间:
2020-12-17 11:46:24
收藏:
0 评论:
0 赞:
0 阅读:
31
百度地图在style中加入 .BMap_cpyCtrl { display: none; } .anchorBL { display: none; } 高德地图在style中加入 .amap-logo, .amap-copyright { display:none !important; } 亲测有 ...
分类:
Windows开发 时间:
2020-12-17 09:34:36
收藏:
0 评论:
0 赞:
0 阅读:
102
想要在Winform程序上每秒显示更新程序的运行时间,格式为"运行时间:XX天XX小时XX分钟XX秒",可以实现的方法有以下几种。 (1)利用Stopwatch计算Winform程序运行时间 System.Diagnostics.Stopwatch sw = new System.Diagnosti ...
分类:
Windows开发 时间:
2020-12-17 09:33:45
收藏:
0 评论:
0 赞:
0 阅读:
50
1.https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_7 调用支付JSAPI缺少参数:total_fee 1、请检查预支付会话标识prepay_id是否已失效 2、请求的appid与下单接口的appid是否一致 ...
分类:
Windows开发 时间:
2020-12-17 09:33:00
收藏:
0 评论:
0 赞:
0 阅读:
447
【序列化:Serializable】 有一个具体的类对象,它用于保存程序运行过程中,产生的数据。 目前它是在内存上的,程序一旦结束就没有了。 有么有可能,它运行过程中的类,包括里面的数据,保存下来。 下一次运行程序的时候,拿出来,继续操作。 把这个运行过程中的类及数据,保存成一个文件。 要使用的时候 ...
分类:
Windows开发 时间:
2020-12-17 09:30:44
收藏:
0 评论:
0 赞:
0 阅读:
41
直接上代码: Regex regex = new Regex(strPattern, RegexOptions.IgnoreCase | RegexOptions.Multiline); if (regex.IsMatch(htmlContent)) { MatchCollection matchC ...
分类:
Windows开发 时间:
2020-12-17 09:28:11
收藏:
0 评论:
0 赞:
0 阅读:
50
一、 利用转字符串函数Tostring()能把所有进制转换成字符串,但是转换成字符串之前会把它转成十进制,再转成字符串形式 ...
分类:
Windows开发 时间:
2020-12-16 23:01:14
收藏:
0 评论:
0 赞:
0 阅读:
46