|
|
@@ -181,9 +181,9 @@ namespace HKCardOUT.ViewModels |
|
|
|
{ |
|
|
|
var win = new AdWindow(Ad[i].Ad, i); |
|
|
|
win.DataContext = new AdWindowViewModel(); |
|
|
|
var rectangle = System.Windows.Forms.Screen.AllScreens[i].WorkingArea; |
|
|
|
win.Height = rectangle.Height; |
|
|
|
win.Width = rectangle.Width; |
|
|
|
//var rectangle = System.Windows.Forms.Screen.AllScreens[i].WorkingArea; |
|
|
|
win.Height = 1080;//rectangle.Height; |
|
|
|
win.Width = 1920;//rectangle.Width; |
|
|
|
win.Top = 0; |
|
|
|
win.Left = i * 1920*-1;// rectangle.Left; |
|
|
|
win.Owner = this.Main; |
|
|
|