Ejemplo n.º 1
0
 public void Reset()
 {
     if (scneEditor != null)
     {
         scneEditor.Dispose();
     }
     scneEditor = null;
     beaFile    = null;
     panel1.Controls.Clear();
     GC.Collect();
 }
Ejemplo n.º 2
0
        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();
        }