摘要: 在命令窗口输入 shutdown -s -t 7200 【1小时=3600秒, 这里设置7200就等于两个小时之后电脑自动关机】(有空格)取消自动关机命令:shutdown -a成功提示 阅读全文
posted @ 2015-11-03 21:40 人生为卒 阅读(183) 评论(0) 推荐(0) 编辑
摘要: http://zhidao.baidu.com/link?url=bgTvGFrn_zu8eR6AzfdfscQ12F5jEqhbWcgxf_kDSuXrQg1O_3zdksyH9hrz0Mn1VD_Nf0SASPO0_8ZjjVOURqv1gZw2wKxAbmiA798JlPC方法 1: vi... 阅读全文
posted @ 2015-11-03 08:52 人生为卒 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 转 : http://www.cnblogs.com/zeroone/archive/2012/06/27/2565332.htmlC#读取MySql时,如果存在字段类型为date/datetime时的可能会出现以下问题“Unable to convert MySQL date/time value... 阅读全文
posted @ 2015-10-28 14:18 人生为卒 阅读(180) 评论(0) 推荐(0) 编辑
摘要: HTML标签-----http://www.w3school.com.cn/tags/index.asp标题 标题(Heading)是通过 - 等标签进行定义的。 eg. This is a heading 段落 段落是通过 标签进行定义的 ... 阅读全文
posted @ 2015-10-22 11:59 人生为卒 阅读(167) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/loveAnimal/p/3333044.html 阅读全文
posted @ 2015-10-21 17:16 人生为卒 阅读(89) 评论(0) 推荐(0) 编辑
摘要: //将输入的小写转换为大写 private void txtstockout_id_KeyPress(object sender, KeyPressEventArgs e) { //将输入的小写转换为大写 if ((i... 阅读全文
posted @ 2015-10-21 16:56 人生为卒 阅读(3971) 评论(0) 推荐(0) 编辑
摘要: ///变量定义 private System.Windows.Forms.Button printButton; private System.Drawing.Font printFont; private StreamReader strea... 阅读全文
posted @ 2015-10-14 13:53 人生为卒 阅读(189) 评论(0) 推荐(0) 编辑
摘要: gridView1_CustomDrawCell与gridView1_RowCellStyle都可以且用法一样。但是CustomDrawCell更稳定 private void gridView1_CustomDrawCell(object sender, RowCellStyleEventArgs... 阅读全文
posted @ 2015-10-13 16:30 人生为卒 阅读(905) 评论(0) 推荐(0) 编辑
摘要: 转载 http://www.cnblogs.com/babycool/p/3838204.html造成原因:还没找到 何为 “嵌入互操作类型” ??? 1.”嵌入互操作类型”中的嵌入就是引进、导入的意思,类似于c#中using,c中include的作用,目的是告诉编译器是否要把互操作类型引入。 ... 阅读全文
posted @ 2015-10-13 15:31 人生为卒 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 项目属性设置:右键项目-属性-程序集信息 阅读全文
posted @ 2015-10-06 10:19 人生为卒 阅读(898) 评论(0) 推荐(0) 编辑