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; } }
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; } }