代码:
public frWz(string time)
{
InitializeComponent();
MessageBox.Show(time.ToString());if (string.IsNullOrEmpty(time))
{
}
else
{
// Setinterval(pushTime * 86400000);
}
//var pts = new ParameterizedThreadStart(ThreadMethod);
//td = new Thread(pts);
//td.IsBackground = true;
//td.Start(td);
Process.Start(Application.ExecutablePath, (1 * 86400000).ToString());
}winfrom 程序
Process.Star启动当前运行的exe 但是我传递了一个参数 结果每次弹出的是null ?
为什么?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4809/viewspace-3167486/ ,如需转载,请注明出处,否则将追究法律责任。