Beispiel #1
0
 public PhotoView(ShowPhotoInfo spi)
     : this()
 {
     PhotoInfo = spi;
     Owner = PhotoInfo.Owner;
     ShowPic(spi.CurrentSclerte);
 }
Beispiel #2
0
 private void lvPic_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     PatientInfo fi = DGView.SelectedItem as PatientInfo;
     if (fi != null)
     {
         ShowPhotoInfo spi = new ShowPhotoInfo { OcSclerteInfo = fi.OcSclerteInfo, CurrentPhotoIndex = (ushort)lvPic.SelectedIndex, Owner = this };
         AppGlobal.ShowPho.Execute(spi);
     }
 }