예제 #1
0
 public static void ShowPictView(string directory)
 {
     if (PictView.pview == null)
     {
         PictView.pview = new PictView(directory);
     }
     PictView.pview.Show();
 }
예제 #2
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     PictView.pview = null;
     if (disposing)
     {
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
 }