private void button_options_Click(object sender, EventArgs e)
 {
     using (var form = new PlaybackSettings(dataCollection))
     {
         var result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             dataCollection = form.data;
         }
     }
     ChangeVisibilityOrder();
 }
        private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //List<DataCollection> data = new List<DataCollection>();
            //data.Add(dataCollection);

            using (var form = new PlaybackSettings(dataCollection))
            {
                var result = form.ShowDialog();
                if (result == DialogResult.OK)
                {
                    dataCollection = form.data;
                }
            }
            ChangeVisibilityOrder();
        }