Beispiel #1
0
 protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
 {
     // IplImageProxyが送られてくるはず
     using (IplImageProxy proxy = objectProvider.GetObject() as IplImageProxy)
     {
         if (proxy == null)
         {
             throw new ArgumentException();
         }
         // Formに表示
         using (IplImageViewer form = new IplImageViewer(proxy))
         {
             windowService.ShowDialog(form);
         }
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="proxy"></param>
 public IplImageViewer(IplImageProxy proxy)
     : this()
 {
     _bitmap = proxy.Bitmap;
 }
Beispiel #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="proxy"></param>
 public IplImageViewer(IplImageProxy proxy)
     : this()
 {
     _bitmap = proxy.Bitmap;
 }