繁体   English   中英

电容式触摸屏无法传播事件

[英]Capasitive Touch screen not propogatinng events

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");
}

问题是

当它在“电容触摸屏”中运行此示例时,我无法单击“消息框”按钮(“确定”或“取消”)

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

我通过在drop事件上使用线程来解决问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM