|
@ -110,7 +110,7 @@ namespace STDHelper |
|
|
Screen screen = Screen.AllScreens.Where(elem => elem.DeviceName == scrStr).SingleOrDefault(); |
|
|
Screen screen = Screen.AllScreens.Where(elem => elem.DeviceName == scrStr).SingleOrDefault(); |
|
|
BitmapSource bms = CopyScreen(screen); |
|
|
BitmapSource bms = CopyScreen(screen); |
|
|
WriteableBitmap crop1 = getAreaFromBitmap(bms, new Int32Rect(228, 123, 450, 450)); |
|
|
WriteableBitmap crop1 = getAreaFromBitmap(bms, new Int32Rect(228, 123, 450, 450)); |
|
|
WriteableBitmap crop2 = getAreaFromBitmap(bms, new Int32Rect(689, 123, 450, 450)); |
|
|
WriteableBitmap crop2 = getAreaFromBitmap(bms, new Int32Rect(686, 123, 450, 450)); |
|
|
i1.Source = crop1; |
|
|
i1.Source = crop1; |
|
|
i1.Opacity = 0.5; |
|
|
i1.Opacity = 0.5; |
|
|
i2.Source = crop2; |
|
|
i2.Source = crop2; |
|
|