本文介绍了从应用程序或线程退出.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在基于表单的应用程序中,我有一个主表单.通过单击toolstripmenuitem,它将打开另一个名为"Createenvironment"表单的表单.此createenvironment表单中有一个生成按钮,单击此按钮将编译几个c ++文件.因此,现在myrpoblem是在特定文件的编译中出现错误时,它不应继续在该列表中对即将到来的文件进行编译,并且不应关闭createenvironment表单.我只想显示错误并停止编译.

In my Form Based Application i have one mainform . by clicking on toolstripmenuitem it will open one more form called "Createenvironment" form .one build button is there in this createenvironment form, clicking on this button will compile few c++ files . so now myrpoblem is when there is error in compilation of a specific file it should not continue the compilation of upcoming files in that list and createenvironment form should not close. just i want to disply error and stop compilation . please kindly suggest me.

推荐答案



这篇关于从应用程序或线程退出.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 13:23