上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 一、文件夹操作Directory类,DirectoryInfo类.使用using System.IO命名空间(一)创建文件夹方法一:1 private string path = @"F:\Text\ceshi";2 private void Create_Click... 阅读全文
posted @ 2015-07-24 09:10 北极熊爱吃鱼 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 就像QQ宠物或者迅雷悬浮窗口一样,鼠标点下去窗体跟着鼠标动主要是两个时间的加载MouseDown和MouseMove事件MouseDown事件:1 private int _StartX ;//鼠标点下去的坐标2 private int _StartY ;3 ... 阅读全文
posted @ 2015-07-21 12:36 北极熊爱吃鱼 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 请选中您要保存的内容,粘贴到此文本框此项目需求是针对.wav格式音频进行操作,转换成相应的.mp3格式的音频文件,对音频进行切割,最后以需求的形式输出,此篇会回顾运用到的一些知识点。1.MDI子窗口的建立:首先一个窗体能够创建多个MDI窗体,应当将IsMDIContainer属性设为true;以下为... 阅读全文
posted @ 2015-07-20 11:33 北极熊爱吃鱼 阅读(467) 评论(0) 推荐(0) 编辑
摘要: C#操作注册表导入命名空间Using MicroSoft.Win32;//64位系统装的64位版本 阅读全文
posted @ 2015-07-18 21:56 北极熊爱吃鱼 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1 Process proc = new Process(); 2 proc.StartInfo.FileName = @"D:\Program Files\Foxmail\Foxmail.exe";3 //可以用绝对路径 4 proc.StartInfo.Arguments = ""; 5 pro... 阅读全文
posted @ 2015-07-18 16:03 北极熊爱吃鱼 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 用C#实现用户名登录---连接数据库,查询并判断是否存在用户名一、链接类1.添加DBConnection类2构造 public class DBConnection { private static string _ConnectionString = null; ... 阅读全文
posted @ 2015-07-06 10:09 北极熊爱吃鱼 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 连接数据库 static void Main(string[] args) { //SqlConnection conn = new SqlConnection();//实例化 //conn.ConnectionString =... 阅读全文
posted @ 2015-07-03 12:16 北极熊爱吃鱼 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 输出Console.WriteLine("Hello, World!"); //输出Hello, World!输出输入的内容 string strName; //声明一个string类型的值变量 Console.Write("please input your name:"... 阅读全文
posted @ 2015-07-03 11:55 北极熊爱吃鱼 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Open MethodOpens a new window and loads the document specified by a given URL.Navigates the app window to the specified location.打开一个新窗口并加载由给定的URL指定的文... 阅读全文
posted @ 2015-06-13 23:38 北极熊爱吃鱼 阅读(205) 评论(0) 推荐(0) 编辑
摘要: ---------数学函数select SQRT(2) --开平方select ABS(-123) --区绝对值select ROUND(1.2345,1) --保留小数点后1位 四舍五入保留select COUNT(*)/5.0 from Carselect CEILING(COUNT(*)/5.... 阅读全文
posted @ 2015-05-30 23:19 北极熊爱吃鱼 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页