I have a WPF application which implements drag and drop operations. Once i created any window or message box from the Dropped event , it is to getting any events say mouse down or preview mouse down etc.
private void Button_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
DragDrop.DoDragDrop(this, "DropData", DragDropEffects.Copy);
}
private void Button_Drop(object sender, DragEventArgs e)
{
MessageBox.Show(" dropped data on event");
}
问题是
当它在CAPACITIVE TOUCH SCREEN中运行此示例时,我无法点击MESSAGE BOX按钮(OK或CANCEL)
任何帮助将不胜感激!...
答案 0 :(得分:0)
我通过在drop事件上使用线程完成了一项工作。