以gui形式使用calc [英] use calc in gui form

查看:108
本文介绍了以gui形式使用calc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想在单击按钮事件时查看系统计算.
给我代码.
谢谢.

hello i want see system calc on click the button events.
please give me code.
thank you.

推荐答案

您需要做的是启动一个新的Process 并使用系统calc作为文件名来启动.

例如
System.Diagnostics.Process.Start("calc.exe");
What you need to do is start a new Process and use the system calc as the filename to start.

e.g.
System.Diagnostics.Process.Start("calc.exe");


这篇关于以gui形式使用calc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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