public void LoadBezelEngineArchive(byte[] data, string FileName = "", bool Compressed = false) { beaFile = new BezelEngineArchive(new MemoryStream(data)); scneEditor = new SCNE_Editor(); scneEditor.Dock = DockStyle.Fill; scneEditor.LoadFile(beaFile, Compressed); scneEditor.Text = Path.GetFileName(FileName); panel1.Controls.Add(scneEditor); BtnExtract.Visible = true; BtnRePack.Visible = true; scneEditor.Show(); }
void ReloadTree() { scneEditor.LoadFile(beaFile, false); }