Ejemplo n.º 1
0
        void hex_FormClosed(object sender, FormClosedEventArgs e)
        {
            VisorHex hex = sender as VisorHex;

            if (sender != null && hex.Edited)
            {
                accion.Change_File(hex.FileID, hex.NewFile);
            }
        }
Ejemplo n.º 2
0
        private void btnHex_Click(object sender, EventArgs e)
        {
            sFile  file     = accion.Selected_File();
            string filePath = accion.Save_File(file);
            Form   hex;

            if (!isMono)
            {
                hex             = new VisorHex(filePath, file.id, file.name != "rom.nds");
                hex.FormClosed += hex_FormClosed;
            }
            else
            {
                hex = new VisorHexBasic(filePath, 0, file.size);
            }

            hex.Text += " - " + file.name;
            hex.Show();
        }
Ejemplo n.º 3
0
        private void btnHex_Click(object sender, EventArgs e)
        {
            sFile file = accion.Selected_File();
            VisorHex hex = new VisorHex(accion.Save_File(file), file.id,
                                        file.name == "rom.nds" ? false : true);

            hex.Text += " - " + file.name;
            hex.Show();
            hex.FormClosed += new FormClosedEventHandler(hex_FormClosed);
        }
Ejemplo n.º 4
0
        private void btnHex_Click(object sender, EventArgs e)
        {
            sFile file = accion.Selected_File();
            string filePath = accion.Save_File(file);
            Form hex;

            if (!isMono) {
                hex = new VisorHex(filePath, file.id, file.name != "rom.nds");
                hex.FormClosed += hex_FormClosed;
            } else {
                hex = new VisorHexBasic(filePath, 0, file.size);
            }

            hex.Text += " - " + file.name;
            hex.Show();
        }