private void RB_Cut_Click(object sender, RoutedEventArgs e) { Window win = Window.GetWindow(this); win.Hide(); Thread.Sleep(200); System.Drawing.Bitmap newBitmap = CopyHelper.CopyFromScreen(); System.Windows.Media.ImageSource ISource = CopyHelper.BitMapToImageSource(newBitmap); ShowWinCopy(ISource, win); }