Winform启动另一个项目传值的方法
本文实例讲述了Winform启动另一个项目传值的方法。分享给大家供大家参考。具体如下: 背景:从A项目中登陆后,跳转到B项目的某个页面(B不再登陆)。 A项目启动进程: 代码如下: public Form1() { InitializeComponent(); } #region 调用进程 [DllImport(“Shell32.dll”)] private static extern int ShellExecute( IntPtr hwnd, string lpOperation, //多为”open” string lpFile,
下载地址
用户评论