public static void ShowPictView(string directory) { if (PictView.pview == null) { PictView.pview = new PictView(directory); } PictView.pview.Show(); }
/// <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); }