.net以下代码的corrcet syntex是什么 [英] What is corrcet syntex of the following code of .net

查看:131
本文介绍了.net以下代码的corrcet syntex是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1 System.Diagnostics.Process obj =新的System.Diagnostics.Process();
2 obj.StartInfo.WindowStyle;
3 obj.WaitForExit();
4 obj.Start("C:\\ Project \\ emgscan.exe","G:\\");

在此代码中,我想隐藏第4行的过程,并等待直到第4行的过程结束以执行下一条语句.

1 System.Diagnostics.Process obj = new System.Diagnostics.Process();
2 obj.StartInfo.WindowStyle;
3 obj.WaitForExit();
4 obj.Start("C:\\Project\\emgscan.exe", "G:\\");

in this code i want hide the process of line 4 and wait until end the process of line 4 for next statement execution.

推荐答案

如果您设置windowstyle而不是访问该属性,可能会有所作为.
If you set the windowstyle instead of just accessing the property, that might do something.


这篇关于.net以下代码的corrcet syntex是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆