电容式触摸屏不传播事件

时间:2014-01-02 12:40:45

标签: c# wpf events touch

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)

任何帮助将不胜感激!...

1 个答案:

答案 0 :(得分:0)

我通过在drop事件上使用线程完成了一项工作。

相关问题