I am working on an application that requires running out of browser; How开发者_如何学运维 can I test if the application is running Out of Browser?
Use the property on the Application
object:
if (System.Windows.Application.Current.IsRuningOutOfBrowser)
{
// The app is out of browser
}
精彩评论