public void OpenFilePreview(PffEntry fileContents) { if (fileContents == null) return; //TODO: Reuse window var mdiChild = new FormPreview { MdiParent = this, PreviewFile = fileContents }; mdiChild.Show(); }
public void OpenFilePreview(PffEntry fileContents) { if (fileContents == null) { return; } //TODO: Reuse window var mdiChild = new FormPreview { MdiParent = this, PreviewFile = fileContents }; mdiChild.Show(); }