xxe hace 2 años
padre
commit
9616d664fd
Se han modificado 1 ficheros con 2 adiciones y 15 borrados
  1. +2
    -15
      HKCardOUT/ViewModels/RootViewModel.cs

+ 2
- 15
HKCardOUT/ViewModels/RootViewModel.cs Ver fichero

@@ -142,6 +142,7 @@ namespace HKCardOUT.ViewModels
private void AdOpen()
{
var SC = System.Windows.Forms.Screen.AllScreens.Count();

for (int i = 0; i < SC; i++)
{
var win = new AdWindow(Ad[i].Ad);
@@ -150,24 +151,10 @@ namespace HKCardOUT.ViewModels
win.Width = rectangle.Width;
win.Top = 0;
win.Left = rectangle.Left;
win.WindowState = WindowState.Maximized;
win.Owner = this.Main;
win.Show();
}


//for (int i = 0; i < Ad.Count; i++)
//{
// var win = new Views.AdWindow(Ad[i].Ad);
// var rectangles = System.Windows.Forms.Screen.AllScreens[i].WorkingArea;
// win.Height = rectangles.Height;
// win.Width = rectangles.Width;
// win.Top = rectangles.Top;
// win.Left = rectangles.Left;
// win.Show();
// win.Owner = this.Main;
//}

}

#endregion


Cargando…
Cancelar
Guardar