- 博客(2)
- 收藏
- 关注
原创 c#实现简单的拖动功能
这个例子是将系统文件或目录拖动到窗体中,窗体以MessageBox的形式弹出用户拖入的文件或目录名称。 首先需要将要支持拖动的Form的AllowDrop=true;然后通过DragEnter和DragDrop事件即可,具体代码如下: private void Form1_DragDrop(object sender, DragEventArgs e) {
2013-05-31 13:39:49 441
原创 C#中简单的冒泡排序
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) {
2009-11-24 16:34:00 269
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人