上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: 完! 阅读全文
posted @ 2018-01-18 14:12 冲天小肥牛 阅读(339) 评论(0) 推荐(0) 编辑
摘要: //自定义对象 var payload = new {name="张三",age=110,time=DateTime.Now }; //序列化 string seriStr = Newtonsoft.Json.JsonConvert.SerializeObject(payload); ... 阅读全文
posted @ 2018-01-18 14:02 冲天小肥牛 阅读(161) 评论(0) 推荐(0) 编辑
摘要: string s = ""; s = string.Format("{0}+{1}={2}\t",12,13,12+13); int m = 100, n = 101; //$"...{值}..{值}...{值}" s += $"我{11}岁了,他{22}岁了"; ... 阅读全文
posted @ 2018-01-12 15:30 冲天小肥牛 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 完!! 阅读全文
posted @ 2018-01-12 12:01 冲天小肥牛 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 应用: 完! 阅读全文
posted @ 2018-01-12 08:55 冲天小肥牛 阅读(84) 评论(0) 推荐(0) 编辑
摘要: FileShare类 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; namespac 阅读全文
posted @ 2017-12-13 18:12 冲天小肥牛 阅读(322) 评论(0) 推荐(0) 编辑
摘要: js中没有insertAfter元素,只有insertBefore函数: 完! 阅读全文
posted @ 2017-10-27 11:30 冲天小肥牛 阅读(25011) 评论(0) 推荐(0) 编辑
摘要: 一般网页加载完毕后,会马上执行js,给按钮,超链接等标签设置多种行为,实现这样的方式: DoFunction()、FirstFunction()、SecondFunction()为js的三个函数 (1)一个函数 window.onload =DoFunction(); (2)多个函数(函数数量过多, 阅读全文
posted @ 2017-10-21 17:32 冲天小肥牛 阅读(2299) 评论(0) 推荐(0) 编辑
摘要: (1)设置快捷键并显示出来 MenuStrip ms = new MenuStrip(); ToolStripMenuItem tm1 = new ToolStripMenuItem("你好"); ToolStripMenuItem tl1 = new ToolStripMenuItem("你好1" 阅读全文
posted @ 2017-10-09 16:02 冲天小肥牛 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 1、新建自定义控件 using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace takelinks { public partial class WatermarkTextBox 阅读全文
posted @ 2017-09-19 16:38 冲天小肥牛 阅读(686) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页