private void PreviewAction(object sender, EventArgs args) { ArchiveListPreviewForm previewFormatList = new ArchiveListPreviewForm(); previewFormatList.LoadArchive(ArchiveFile); previewFormatList.Show(); }
private void PreviewTextures(object sender, EventArgs args) { SuppressFormDialog = true; List <IFileFormat> Formats = new List <IFileFormat>(); try { CallRecursive(TreeView, Formats); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } ArchiveListPreviewForm editor = new ArchiveListPreviewForm(); editor.LoadArchive(Formats); editor.Show(); SuppressFormDialog = false; }