Beispiel #1
0
        /// <summary>
        /// 保存图片
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ImageSaveButton_Click(object sender, RoutedEventArgs e)
        {
            if (MainImage.Source == null)
            {
                return;
            }
            BitmapImage bt = MainImage.Source as BitmapImage;

            doWhat.SaveImage(MainImage);
        }
Beispiel #2
0
 private void SaveImageButton_Click(object sender, RoutedEventArgs e)
 {
     doWhat.SaveImage(CompareImage);
 }