摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Diagnostics;namespace WinFormDGVTest{ public partial class Form1 : Form { public Form1() { InitializeComponent( 阅读全文
posted @ 2011-03-26 12:06
梦想(胡大利)
阅读(311)
评论(0)
推荐(0)
摘要:
在.net中实现拖拽控件主要用到以下事件MouseDown(object sender, MouseEventArgs e)MouseUp(object sender, MouseEventArgs e)MouseMove(object sender, MouseEventArgs e)这三个函数的作用分别是鼠标按下时激活,鼠标松开激活和鼠标移动需要考虑的情况如下1. 只有在鼠标按下的时候才可以使... 阅读全文
posted @ 2011-03-26 00:17
梦想(胡大利)
阅读(803)
评论(0)
推荐(0)
浙公网安备 33010602011771号