我的程序中,目标控件的OnDragEnter已经被执行,并且托放对象是可以接受的,
事件参数的Effect也已设为DragDropEffects.Move,可是OnDragDrop却没有被调用,请问可能是咋回事?3x
事件参数的Effect也已设为DragDropEffects.Move,可是OnDragDrop却没有被调用,请问可能是咋回事?3x
解决方案 »
- winfrom 异步委托出现的线程问题~
- 看过来,关于异常捕获和自定义异常
- DataGridView的DataGridViewComboBoxCell的问题
- 窗口程序 异步怪问题。
- 急!!!image对象存储到数据库的问题!!100分
- 谁有C# WINDOWS程序开发UI标准,发份给我吧!谢谢!
- ~~~~如何在DataGrid模板中动态添加一个文本框~~~~
- C#中的预处理指令,你用了多少?
- C#的ExecutionEngineException异常?
- 谁用过UAP,VS 出现这种情况,是怎么回事?
- 有用过system.management类或熟悉wmi .net使用的来
- 页面初始化的时候为什么读不到注册表信息?
{
button1.DoDragDrop(button1.Text, DragDropEffects.Move);
} private void dataGridView1_DragEnter(object sender, DragEventArgs e)
{
e.Effect = DragDropEffects.Move;
} private void dataGridView1_DragDrop(object sender, DragEventArgs e)
{
this.Text=(string) e.Data.GetData(typeof(string));
}