[英]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.