Ejemplo n.º 1
0
        private void editZonesButton_Click(object sender, EventArgs e)
        {
            ClosePlayer();
            ZonesWindow zw = new ZonesWindow(mainForm, VideoInput);

            zw.Zones = Info.Zones;
            if (zw.ShowDialog() == DialogResult.OK)
            {
                Info.Zones = zw.Zones;
            }
        }
Ejemplo n.º 2
0
        private void editZonesButton_Click(object sender, EventArgs e)
        {
            if (String.IsNullOrEmpty(videoInput.Filename))
            {
                MessageBox.Show("Load an avisynth script first...", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }

            ClosePlayer();
            ZonesWindow zw = new ZonesWindow(mainForm, VideoInput);

            zw.Zones = Info.Zones;
            if (zw.ShowDialog() == DialogResult.OK)
            {
                Info.Zones = zw.Zones;
            }
        }