本文介绍了系统:: Windows :: Forms :: Form :: ShowDialog()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个2表单设置

当我从串行端口接收数据时,我的第一个表单将使用ShowDialog()方法调用另一个表单

my first form will call another form with the ShowDialog() method when I receive data from the serial port

ShowDialog()抛出InvalidOperation与addnal信息DragDrop注册未成功

ShowDialog() throws InvalidOperation with additionnal information "DragDrop registration did not succeed"

有关如何解决这个问题的任何提示? p>

any hints on how to solve this?

推荐答案

Cheesy google search answer ...但似乎解决了您的问题:

Cheesy google search answer... but it seems to address your issue:

这篇关于系统:: Windows :: Forms :: Form :: ShowDialog()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 09:28