xxe 2 years ago
parent
commit
3ac20eae76
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      HKCardOUT/ViewModels/RootViewModel.cs

+ 3
- 3
HKCardOUT/ViewModels/RootViewModel.cs View File

@@ -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;


Loading…
Cancel
Save