Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道无论如何要确定我的应用程序是手动执行还是在窗口启动中执行。我将解释为什么我需要这个我的应用程序作为启动应用程序创建系统托盘图标。每当用户启动它创建的应用程序时系统托盘并显示一个对话框..但在启动时我不应该显示对话框。
当你作为启动运行它时添加一个参数,就像/startup在运行时检查它一样。
/startup