예제 #1
0
파일: TestW.xaml.cs 프로젝트: Nekohim3/BDOA
 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();
 }
예제 #2
0
 internal Sbmp(DxScreenCapture sc)
 {
     _buf   = sc.GetImg();
     Width  = Screen.PrimaryScreen.Bounds.Width;
     Height = Screen.PrimaryScreen.Bounds.Height;
 }