Example #1
0
 /// <summary>
 /// 是否将Web显示为图片
 /// </summary>
 /// <param name="_show"></param>
 private void ShowWebImage(bool show)
 {
     if (show)
     {
         imageWebMain.Source = Screenshot.BrowserSnapShot(ChromeWindow.thisWindow);
         ChromeWindow.thisWindow.Visibility = Visibility.Hidden;
     }
     else
     {
         imageWebMain.Source = null;
         ChromeWindow.thisWindow.Visibility = Visibility.Visible;
     }
 }