如何从菜单条项调用Windows应用程序表单(exe文件存在于文件夹中) [英] How to call a windows application form (exe file existing in a folder) from menu strip item

查看:85
本文介绍了如何从菜单条项调用Windows应用程序表单(exe文件存在于文件夹中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好plz帮帮我

如何直接调用windows c#可执行表格

来自menustrip项目,plz建议代码

c# exe文件存在于D:\ project文件夹中。



感谢和问候



GMS



我尝试了什么:



已经创建菜单条设计时间。



表格fr =新表格();

fr.Text =新;

fr.Show();



i不知道调用现有的windows形式的c#

Hi plz help me
how to call a windows c# executable form
from menustrip item directly , plz suggest the code
the c# exe file is existing in "D:\project" folder.

thanks and regards

GMS

What I have tried:

Already created the menu strip in design time.

Form fr = new Form();
fr.Text = "New";
fr.Show();

i dont have idea about calling existing windows forms of c#

推荐答案

使用流程类(System.Diagnostics) [ ^ ]实例化另一个应用程序。
Use the Process Class (System.Diagnostics)[^] to instantiate another application.


这篇关于如何从菜单条项调用Windows应用程序表单(exe文件存在于文件夹中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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