using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Media; namespace HKCardOUT.Views { public partial class RootView : HandyControl.Controls.Window { public RootView() { InitializeComponent(); if (Screen.AllScreens.Count() >= 2) { Dispatcher.Invoke(() => { //显示广告屏幕 }); } } } }