摘要: <a href="http://www.cnblogs.com" style="text-decoration: none; color: inherit;">博客园</a> text-decoration: none 去掉默认下划线 color: inherit 使用继承的颜色,而不是a标签默认的 阅读全文
posted @ 2023-09-11 15:58 雨也绵绵 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://www.cnblogs.com/yominhi/p/7039795.html 【工具官网】 Node.js : http://nodejs.cn/ 淘宝NPM: https://npm.taobao.org/ 【安装步骤】 一、安装node.js 1.前往node.js官网 阅读全文
posted @ 2022-05-11 23:25 雨也绵绵 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 先放样式代码 <Style x:Key="RepeatButtonTransparent" TargetType="{x:Type RepeatButton}"> <Setter Property="OverridesDefaultStyle" Value="true" /> <Setter Pro 阅读全文
posted @ 2021-02-02 10:34 雨也绵绵 阅读(986) 评论(0) 推荐(0) 编辑
摘要: 工作中要开发一个英语词典小工具,通过单词查询出的例句中相应的单词要进行高亮显示,于是就做了一个Label自定义控件。 代码如下: HighlightLabel.cs public class HighlightLabel : Label { /// <summary> /// 高亮画笔 /// </ 阅读全文
posted @ 2021-01-28 23:00 雨也绵绵 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 先安装Windows下的C语言编译器 Orwell Dev-C++,是 Dev-C++ 的一个衍生版本。 Orwell Dev-C++ 官网:http://orwelldevcpp.blogspot.com 下载地址:http://sourceforge.net/projects/orwelldev 阅读全文
posted @ 2020-12-28 19:34 雨也绵绵 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 给你所需要程序右键属性-兼容性-以管理员身份运行此程序。 阅读全文
posted @ 2020-11-18 18:12 雨也绵绵 阅读(825) 评论(0) 推荐(0) 编辑
摘要: public static void Open() { var tabTipFile = @"C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe"; if (System.IO.File.Exists(tabTipFile)) 阅读全文
posted @ 2020-09-07 15:26 雨也绵绵 阅读(741) 评论(0) 推荐(0) 编辑
摘要: 如果希望用关键字作为标识符,需在关键字前面加上@前缀。例如: class class {...} // Illegal class @class {...} // Legal @并不是标识符的一部分,所以@myVariable和myVariable是一样的。 @前缀在调用使用其他拥有不同关键字的.N 阅读全文
posted @ 2020-08-31 16:51 雨也绵绵 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 先画两个弧形,然后进行缩放动画 <Path x:Name="ArcSegmentPath" Stroke="#F6F6F7" StrokeThickness="4" RenderTransformOrigin="0.5,0.5"> <Path.RenderTransform> <TransformG 阅读全文
posted @ 2020-08-30 18:35 雨也绵绵 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 在使用RestSharp携带cookie的时候, var request = new RestRequest(url, Method.GET); request.AddCookie("name", "value"); 报了以下这个错误 Cookie 的“Value”=“xxxx,xxxx,xxxx, 阅读全文
posted @ 2020-08-28 11:37 雨也绵绵 阅读(616) 评论(0) 推荐(0) 编辑