private void ViewB_Click(object sender, MouseEventArgs e) { Window_ShowImage showImage = new Window_ShowImage(datastore, ((Control)sender).Tag.ToString()); showImage.Owner = this; showImage.Show(); }
private void ViewButton_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Window_ShowImage showImage = new Window_ShowImage(datastore, ((Control)sender).Tag.ToString()); showImage.Owner = this; showImage.Show(); }