示例#1
0
 private void StickerGalleryCtrl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     if (e.ClickCount > 1)
     {
         // Do double-click code
         string fileName = StickerGalleryCtrl.GetSelectedImageFilePath();
         myPaint.ImportImageGreyScale(fileName);
         e.Handled = true;
     }
 }
示例#2
0
        private void AddStickerImgBtn_MouseDown(object sender, MouseButtonEventArgs e)
        {
            string fileName = StickerGalleryCtrl.GetSelectedImageFilePath();

            myPaint.ImportImageGreyScale(fileName);
        }