private void PreviewWindow(object sender, EventArgs args) { PreviewFormatList previewFormatList = new PreviewFormatList(); if (previewFormatList.ShowDialog() == DialogResult.OK) { CallRecursive(TreeView); PreviewEditor previewWindow = new PreviewEditor(); previewWindow.Show(); } }
public void PreviewWindow(object sender, EventArgs args) { PreviewFormatList previewFormatList = new PreviewFormatList(); if (previewFormatList.ShowDialog() == DialogResult.OK) { CallRecursive(TreeView); Console.WriteLine("Loaded files"); Console.WriteLine(PluginRuntime.bntxContainers.Count); PreviewEditor previewWindow = new PreviewEditor(); previewWindow.Show(); } }
private void PreviewTextures(object sender, EventArgs args) { SuppressFormDialog = true; try { CallRecursive(TreeView); CallRecursive(TreeView); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } PreviewEditor editor = new PreviewEditor(); editor.Show(); SuppressFormDialog = false; }