上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: cmd命令:ping 192.168.0.3//192.168.0.3是服务器 版权声明:本文为博主原创文章,未经博主允许不得转载。 阅读全文
posted @ 2014-08-05 20:13 Jackerson 阅读(140) 评论(0) 推荐(0)
摘要: 版权声明:本文为博主原创文章,未经博主允许不得转载。 阅读全文
posted @ 2014-08-05 18:18 Jackerson 阅读(309) 评论(0) 推荐(0)
摘要: 定义全局变量 string abcmycode = "";//当前行自编号 bool tf = false;//是否双击 //双击可编辑 private void dgvOutClassVerify_CellDoubleClick(object sender, DataGridVie... 阅读全文
posted @ 2014-08-04 19:39 Jackerson 阅读(298) 评论(0) 推荐(0)
摘要: 目的:获取项目路径下所有文件夹的名称,并绑定到Combobox控件下; 显示要求:此文件夹名称和他的子文件名称的集合; Combobox控件名称:cmbFile图示:代码实现: //项目路径 string strabcfile = System.Windows.Forms.... 阅读全文
posted @ 2014-08-04 15:50 Jackerson 阅读(143) 评论(0) 推荐(0)
摘要: (1)Convert 函数select Convert ( VARCHAR(7),ComeDate,120) as Date ,Count(In_code) as 单数,Sum(SumTrueNum) as 件数from T_In_Topwhere ComeDate between '2013-01... 阅读全文
posted @ 2014-08-04 15:36 Jackerson 阅读(177) 评论(0) 推荐(0)
摘要: 两个窗体 FormA,FormB;FormA窗体中有一文本框控件:TextBox;FormB窗体中有一变量:txtJSJ目的:把变量赋值给文本框实现:设置TextBox属性:Modifiers=Public;//指示对象的可见性级别在FormB窗体中写:FormA.TextBox=txtJSJ; ... 阅读全文
posted @ 2014-08-02 16:33 Jackerson 阅读(107) 评论(0) 推荐(0)
摘要: 截取全屏代码:try { this.Hide(); Rectangle bounds = Screen.GetBounds(Screen.GetBounds(Point.Empty)); ... 阅读全文
posted @ 2014-08-01 13:02 Jackerson 阅读(202) 评论(0) 推荐(0)
摘要: 新手上路,高手勿进!窗体设计:实现效果:实现代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System... 阅读全文
posted @ 2014-07-31 20:12 Jackerson 阅读(234) 评论(0) 推荐(0)
摘要: #region 读取TXT 文件,放到Label中 private void ReadTXT(Label lab) { string strTxtAll = "";//定义一个string变量 string abc = "C:\Users\x... 阅读全文
posted @ 2014-07-31 09:56 Jackerson 阅读(228) 评论(0) 推荐(0)
摘要: 1.要实现C# WinForm中的控件与背景的透明,可以通过设置控件的BackColor属性为Transparent,同时设置其父控件。因为在C#中,控件的透明指对父窗体透明。如果不设置Parent属性,那么控件将只对Form透明,显示的时候都会把Form的背景色(默认为Control)重刷一遍作为... 阅读全文
posted @ 2014-07-30 13:27 Jackerson 阅读(282) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页