|
|
@@ -197,7 +197,6 @@ namespace HKCardOUT.ViewModels |
|
|
|
win.Height = rectangle.Height; |
|
|
|
win.Width = rectangle.Width; |
|
|
|
win.Top = 0; |
|
|
|
win.WindowStyle = System.Windows.WindowStyle.None; |
|
|
|
win.Left = rectangle.Left; |
|
|
|
win.Owner = this.Main; |
|
|
|
win.Show(); |
|
|
@@ -207,7 +206,6 @@ namespace HKCardOUT.ViewModels |
|
|
|
{ |
|
|
|
Debug.WriteLine(ex.ToString()); |
|
|
|
var win = new AdWindow("暂无广告"); |
|
|
|
win.WindowStyle = System.Windows.WindowStyle.None; |
|
|
|
var rectangle = System.Windows.Forms.Screen.AllScreens[0].WorkingArea; |
|
|
|
win.Height = rectangle.Height; |
|
|
|
win.Width = rectangle.Width; |
|
|
|