- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 ClipBoard
引入命名空间:System.Windows.Formsif (e.Control && e.KeyCode == System.Windows.Forms.Keys.C) { GridView view = base.MainView as GridView; object value = view.GetFocuse
2011-11-25 14:54:15 617 1
原创 Threading 实现
private void button1_Click(object sender, EventArgs e) { //开启线程 System.Threading.Thread thread = new System.Threading.Thread(new System.Threading.ParameterizedThreadSta
2011-11-25 14:18:55 581
原创 多线程异步实现(backgroundworker)
private void MonitorTime_Tick(object sender, EventArgs e) { if (bgWorker.IsBusy) return; bgWorker.RunWorkerAsync(); } private void
2011-11-25 13:52:29 459
原创 窗体增加声音文件
publicenum PlaySoundFlags :int{ SND_SYNC=0x0000,/* play synchronously (default)*/ SND_ASYNC=0x0001,/* play asynchronously*/ SND_NODEFAULT=0x0002,/* silence (!default) i
2011-11-24 17:06:28 405
原创 CompareTo 方式使用
Less than zeroThis instance precedes value.ZeroThis instance has the same position in the sort order as value.Greater than zeroThis instance follows value.-or-
2011-11-20 20:31:41 441
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人