随笔分类 -  C#

摘要:object sender:表示触发事件的控件对象EventArgs e:表示事件数据的类的基类 Windows程序有一个事件机制。用于处理用户事件。 在WinForm中我们经常需要给控件添加事件。例如给一个Button按钮添加一个Click点击事件。给TextBox文本框添加一个KeyPress 阅读全文
posted @ 2018-12-17 21:14 凌易说-lingyisay 阅读(22587) 评论(3) 推荐(8) 编辑
摘要:解决办法: 直接把ConfigurationSettings写成ConfigurationManager,但是提示没有ConfigurationManager语句。 阅读全文
posted @ 2018-12-09 09:59 凌易说-lingyisay 阅读(2313) 评论(0) 推荐(0) 编辑
摘要:实数类型 阅读全文
posted @ 2018-11-25 18:50 凌易说-lingyisay 阅读(174) 评论(0) 推荐(0) 编辑
摘要:项目名 >添加 >web引用 网址:http://www.webxml.com.cn/zh_cn/index.aspx https://blog.csdn.net/linshichen/article/details/72629394 阅读全文
posted @ 2018-11-24 15:45 凌易说-lingyisay 阅读(245) 评论(0) 推荐(0) 编辑
摘要:20多个常用的免费WebService接口 天气预报Web服务,数据来源于中国气象局 Endpoint Disco WSDL IP地址来源搜索 WEB 服务(是目前最完整的IP地址数据) Endpoint Disco WSDL 随机英文、数字和中文简体字 WEB 服务 Endpoint Disco 阅读全文
posted @ 2018-11-18 18:40 凌易说-lingyisay 阅读(564) 评论(0) 推荐(0) 编辑
摘要:Camel和Pascal命名规范 Camel:多用于给普通变量(局部变量)和字段命名的规范,第一个单词的首字母小写,其余的单词首字母大写。如变量highSchoolStudent,字段要加下划线,如_highSchoolStudent。 Pascal:多用于给类、方法(函数)和属性(属性的本质是ge 阅读全文
posted @ 2018-11-14 17:45 凌易说-lingyisay 阅读(181) 评论(0) 推荐(0) 编辑
摘要:(<)(.[^<]*)((src|href)=)('|""| )?(?<fileUrl>(.[^'|\s|""]*)(\.)(jpg|gif|png|bmp|jpeg|swf))('|""|\s|>)(.[^>]*)(>) 元字符 描述 \ 将下一个字符标记符、或一个向后引用、或一个八进制转义符。例 阅读全文
posted @ 2018-08-17 20:35 凌易说-lingyisay 阅读(135) 评论(0) 推荐(0) 编辑
摘要:C#转义字符 转义字符 转义字符的意义 \n 回车换行 \t 横向跳到下一制表位置 \v 竖向跳格 \b 退格 \r 回车 \f 走纸换页 \\ 反斜线符"\" \' 单引号符 \a 鸣铃 \ddd 1~3位八进制数所代表的字符 \xhh 1~2位十六进制数所代表的字符 在文本框中输出换行为 \r\ 阅读全文
posted @ 2018-08-17 20:09 凌易说-lingyisay 阅读(166) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Thread... 阅读全文
posted @ 2018-08-17 19:39 凌易说-lingyisay 阅读(503) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Text; 3 using System.Text.RegularExpressions;//正则表达式 4 using System.IO; 5 using System.Net; 6 7 namespace _2 8 { 9 class Program 10 { 11 stati... 阅读全文
posted @ 2018-08-17 10:41 凌易说-lingyisay 阅读(154) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Net; 3 using System.Text; 4 namespace _1 5 { 6 class Program 7 { 8 static void Main(string[] args) 9 { 10 string url = 阅读全文
posted @ 2018-08-17 10:39 凌易说-lingyisay 阅读(159) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示