摘要: 一个制作矢量图标(SVG)的网址:https://icomoon.io/ <a href="index2.html">index</a> <a href="myPage/index2.html">index</a> <!-- 目录语法,斜杠前面表示文件夹的名字,在哪个文件夹里面,就写哪个文件夹的名字 阅读全文
posted @ 2018-05-27 15:06 水墨晨诗 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Create Table Article ( Id Int Identity(1,1) Not Null, Title Varchar(50) Not Null Constraint uq_ArticleTitle Unique, Keywords Varchar(50) Not Null, Abs 阅读全文
posted @ 2018-01-21 17:04 水墨晨诗 阅读(480) 评论(2) 推荐(1) 编辑
摘要: jquery 最佳实践: 选择器方面:id 选择器 = 标签选择器 > 类选择器 > 属性选择器、伪类选择器 DOM方面 :使用 $parent.find('.child') 来选取后代元素。 尽量少操作DOM,将需要append的所有内容,合并起来,最后一起append。 浏览器原生的innter 阅读全文
posted @ 2017-08-21 09:25 水墨晨诗 阅读(391) 评论(0) 推荐(0) 编辑
摘要: static void Main1() { //通过委托开启一个线程 Action a = Test1; a.BeginInvoke(null, null);//开启一个新的线程去执行a所引用的方法 Console.WriteLine("main");//启动方法之后,先输出了main,再输出tes 阅读全文
posted @ 2017-08-18 11:30 水墨晨诗 阅读(584) 评论(4) 推荐(0) 编辑
摘要: key要16位的字符串。 public class AESHelper { /// <summary> /// AES加密 /// </summary> /// <param name="text">加密字符</param> /// <param name="key">密钥</param> /// 阅读全文
posted @ 2023-09-28 16:53 水墨晨诗 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 一:在子组件中通过this.$parent.event来调用父组件的方法 父组件: <template> <div> <child></child> </div> </template> <script> import child from './components/dam/child'; exp 阅读全文
posted @ 2023-05-24 13:24 水墨晨诗 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 现象:在使用dispatchaction之后,仍然不能达到想要的样子。点选柱子会高亮起颜色。实际只实现了点击一个之后,同series的其他列都变了,唯独自己点选的那个没有变。 解决方法:要拿掉tooltip 才行。 阅读全文
posted @ 2023-04-23 20:01 水墨晨诗 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1、浏览器解析a标签的时候,如果a标签的href属性是以http开头,那么浏览器就会启用http协议的解析器去解析该网址。 首先浏览器会从本地的Hosts文件(c:/windows/system32/drivers/etc)查找是否存在该网址对应的P。 如果没有就从网络服务提供商的DNS服务器中查找 阅读全文
posted @ 2022-11-30 16:10 水墨晨诗 阅读(143) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.InteropServices; using System.Windows.Forms; namespace WindowsFormsApp { public partial class Form1 : Form { public Form1() { Ini 阅读全文
posted @ 2022-11-17 14:16 水墨晨诗 阅读(86) 评论(0) 推荐(0) 编辑
摘要: win32 API using System; //using System.Drawing; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; namespace Transfe 阅读全文
posted @ 2022-09-14 09:44 水墨晨诗 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-30 10:29 水墨晨诗 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://www.cnblogs.com/juanheqiao/p/14204790.html 先创建个类: public class ResFileStream: FileStream { public ResFileStream(string path, FileMode mod 阅读全文
posted @ 2022-07-25 10:08 水墨晨诗 阅读(346) 评论(1) 推荐(0) 编辑
摘要: 1、C#种使用const,java中使用Final, 且使用Final修饰的变量,使用大写字母开头。 2、a与b中,有且只有一个为true的时候,就返回true。 (两个都是false,或者两个都是true,就返回false) a^b 阅读全文
posted @ 2021-12-29 16:13 水墨晨诗 阅读(18) 评论(0) 推荐(0) 编辑
摘要: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer 下删除 DontShowMeThisDialogAgain,或者将其值改写成YES。 阅读全文
posted @ 2021-12-03 09:21 水墨晨诗 阅读(98) 评论(0) 推荐(0) 编辑
摘要: original:https://www.npmjs.com/package/js-base64Encodelet latin = 'dankogai'; let utf8 = '小飼弾' let u8s = new Uint8Array([100,97,110,107,111,103,97,105 阅读全文
posted @ 2021-10-14 13:31 水墨晨诗 阅读(620) 评论(0) 推荐(0) 编辑
摘要: The definition of these terms is quite ambiguous. You will find different definitions at different places.Entity: An entity represents a single instan 阅读全文
posted @ 2021-09-13 14:49 水墨晨诗 阅读(608) 评论(0) 推荐(0) 编辑
摘要: public partial class Label4L1 : PictureBox { [Browsable(true), Description("鼠标悬浮,填充图片")] [Category("Appearance")] public Image HoverImage { get; set; 阅读全文
posted @ 2021-03-12 10:11 水墨晨诗 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 1、新建一个MVC项目(非MVC也可以),.Net FrameWork 版本要4.5及以上。 2、创建一个项目文件夹,这里叫做Hubs,右击Hubs文件夹→添加→新建项→SignalR Hub Class。(这里文件名叫MyHub.cs) Hub文件创建好之后,VS2019会主动帮你在该项目下创建S 阅读全文
posted @ 2020-11-26 15:12 水墨晨诗 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 需求:需要将Employee转换成DTO public class Employee { public int Age { get; set; } public int EmployeeNum { get; set; } public string Name { get; set; } public 阅读全文
posted @ 2020-11-25 18:05 水墨晨诗 阅读(309) 评论(0) 推荐(0) 编辑