private void ChooseAreaBtn_Click(object sender, RoutedEventArgs e)
        {
            if (!isAllWin && SelectedHwnd == 0)
            {
                HandyControl.Controls.Growl.Error(Application.Current.Resources["ChooseOCRAreaPage_NextErrorHint"].ToString());
                return;
            }
            BitmapImage img;

            if (isAllWin)
            {
                img = ImageProcFunc.ImageToBitmapImage(ScreenCapture.GetAllWindow());
            }
            else
            {
                img = ImageProcFunc.ImageToBitmapImage(ScreenCapture.GetWindowCapture((IntPtr)SelectedHwnd));
            }

            ScreenCaptureWindow scw = new ScreenCaptureWindow(img);

            scw.Width   = img.Width;
            scw.Height  = img.Height;
            scw.Topmost = true;
            scw.Top     = 0;
            scw.Left    = 0;
            scw.ShowDialog();               // 不用Show()因为需要阻塞等待结果

            RenewAreaBtn_Click(null, null); // 显示结果
            ConfirmBtn.IsEnabled = true;
        }