更具体地讲,我怎么会setup像在WPF这一个在没有窗口显示在开始,但通知图标将启动顺序为present?
More specifically, how could I setup a startup sequence like this one in WPF where no window is shown at start, but a notification icon is present?
拆下应用程序的
您App.xaml文件的根标签,并添加要在Application.Startup事件处理程序。的StartupUri
属性
Remove the StartupUri
attribute from the Application
root tag of your App.xaml file and add the code you want to execute in the Application.Startup event handler.