This commit is contained in:
amki 2019-04-14 03:50:03 +02:00
parent d0f2f84a32
commit b63438de2d

View File

@ -109,8 +109,8 @@ namespace STDHelper
string scrStr = cb.SelectedItem as string;
Screen screen = Screen.AllScreens.Where(elem => elem.DeviceName == scrStr).SingleOrDefault();
BitmapSource bms = CopyScreen(screen);
WriteableBitmap crop1 = getAreaFromBitmap(bms, new Int32Rect(226, 123, 450, 450));
WriteableBitmap crop2 = getAreaFromBitmap(bms, new Int32Rect(685, 123, 450, 450));
WriteableBitmap crop1 = getAreaFromBitmap(bms, new Int32Rect(228, 123, 450, 450));
WriteableBitmap crop2 = getAreaFromBitmap(bms, new Int32Rect(689, 123, 450, 450));
i1.Source = crop1;
i1.Opacity = 0.5;
i2.Source = crop2;