02 2016 档案

摘要://加载窗体时 string weekstr = ""; private void Form22_Load(object sender, EventArgs e) { this.timer1.Start(); //把得到的星期转换成中文 switch (DateTime.Now.DayOfWeek. 阅读全文
posted @ 2016-02-25 09:56 舞動的風 阅读(2030) 评论(0) 推荐(0)
摘要:using System.Runtime.InteropServices; public static uint SND_ASYNC = 0x0001; public static uint SND_FILENAME = 0x00020000; [DllImport("winmm.dll")] pu 阅读全文
posted @ 2016-02-22 17:58 舞動的風 阅读(1150) 评论(0) 推荐(0)
摘要:1 class SQLHelper 2 { 3 public SqlConnection conn; 4 5 //<summary> 6 //链接、打开数据库 7 //</summary> 8 public void open() 9 { 10 string connectionStr = "ser 阅读全文
posted @ 2016-02-15 11:31 舞動的風 阅读(1877) 评论(1) 推荐(0)