|
|
@@ -172,7 +172,11 @@ namespace HKCardOUT.ViewModels |
|
|
|
try |
|
|
|
{ |
|
|
|
var SC = System.Windows.Forms.Screen.AllScreens.Count(); |
|
|
|
if (SC < 3) return; |
|
|
|
while (SC<3) |
|
|
|
{ |
|
|
|
SC = System.Windows.Forms.Screen.AllScreens.Count(); |
|
|
|
Thread.Sleep(1000); |
|
|
|
} |
|
|
|
for (int i = 0; i < SC; i++) |
|
|
|
{ |
|
|
|
var win = new AdWindow(Ad[i].Ad, i); |
|
|
|