示例#1
0
        private void MuisIn(MouseEventArgs e)
        {
            Image tg = (Image)e.OriginalSource;

            groteView = new View.ImageView();
            groteView.GroteImage.Source = tg.Source;
            groteView.Show();
        }
示例#2
0
 private void MuisIn(MouseEventArgs e)
 {
     try
     {
         Image tg = (Image)e.OriginalSource;
         groteview = new View.ImageView();
         groteview.GroteImage.Source = tg.Source;
         groteview.Show();
     }
     catch (InvalidCastException)
     {
         MessageBox.Show("Geen afbeelding ");
     }
 }