Esempio n. 1
0
 private void TestW_OnLoaded(object sender, RoutedEventArgs e)
 {
     IClose.Source = ImgHelpers.BitmapToImageSource(Properties.Resources.close);
     AppDomain.CurrentDomain.AssemblyResolve += CurrentDomainOnAssemblyResolve;
     _sc = new DxScreenCapture();
     _is = new Input();
     _is = new Input {
         KeyboardFilterMode = KeyboardFilterMode.All
     };
     _is.Load();
     Start();
     th = new Thread(Check);
     th.Start();
 }
Esempio n. 2
0
 internal Sbmp(DxScreenCapture sc)
 {
     _buf   = sc.GetImg();
     Width  = Screen.PrimaryScreen.Bounds.Width;
     Height = Screen.PrimaryScreen.Bounds.Height;
 }