private void AutoSaveZone(MovieZone zone)
        {
            string path = GetAutoSavePath() + autoSaveID + ".pmf";

            zoneSaveIDs.Add(autoSaveID);
            autoSaveID++;
            System.IO.File.WriteAllBytes(path, zone.bytes);
        }
        private void LoadZone(string path)
        {
            MovieZone z = new MovieZone();

            z.name   = new FileInfo(path).Name;
            z.name   = z.name.Substring(0, z.name.LastIndexOf('.'));
            z.start  = 0;
            z.bytes  = System.IO.File.ReadAllBytes(path);
            z.length = BitConverter.ToInt32(z.bytes, 0);

            zones.Add(z);
            listZones.Items.Add(z.getStr());
        }
        // Get a zone from current movie
        private void btnSetZone_Click(object sender, EventArgs e)
        {
            MovieZone z = new MovieZone();

            z.start  = (int)numSetStart.Value;
            z.length = (int)(numSetEnd.Value - numSetStart.Value);
            z.bytes  = mov.GetPSave(z.start, z.start + z.length);
            z.name   = "Zone " + zones.Count;

            zones.Add(z);
            listZones.Items.Add(z.name + " - length: " + z.length);

            AutoSaveZone(z);
        }