示例#1
0
        private void PreviewAction(object sender, EventArgs args)
        {
            ArchiveListPreviewForm previewFormatList = new ArchiveListPreviewForm();

            previewFormatList.LoadArchive(ArchiveFile);
            previewFormatList.Show();
        }
示例#2
0
        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;
        }