2010-05-23 113 views

回答

3

使用属性Application对象:

if (System.Windows.Application.Current.IsRuningOutOfBrowser) 
{ 
    // The app is out of browser 
}