예제 #1
0
 protected virtual void OnMouseDownImage(MouseDownImageEventArgs e)
 {
     if (MouseDownImage != null)
     {
         MouseDownImage(this, e);
     }
 }
예제 #2
0
 void photonav_MouseDownImage(object sender, MouseDownImageEventArgs e)
 {
     BigImage.Source      = e.photoinfo.ImageSource;
     BigCanvas.MaxHeight  = this.ActualHeight - 30;
     BigCanvas.Height     = BigCanvas.MaxHeight;
     BigCanvas.Visibility = Visibility.Visible;
     BigImage.Visibility  = Visibility.Visible;
 }