private void FormSync_Load(object sender, EventArgs e)
        {
            listViewSyncUp.View          = View.Details;
            listViewSyncUp.FullRowSelect = true;
            listViewSyncUp.Sorting       = SortOrder.Ascending;
            listViewSyncUp.HideSelection = false; // keep selection highlighted (grey) on blur

            listViewSyncUp.Columns.Clear();
            listViewSyncUp.Columns.Add("Name", nameWidth, HorizontalAlignment.Left);
            listViewSyncUp.Columns.Add("Qty", qtyWidth, HorizontalAlignment.Center);
            listViewSyncUp.Columns.Add("Size", sizeWidth, HorizontalAlignment.Right);


            // meh .. seems have to use resizing events
            // listViewSyncUp.AutoResizeColumn(0, ColumnHeaderAutoResizeStyle.ColumnContent);

            ResizeColumns();

            ListVideoInfo.Save();

            Sync.Load();
            if (Sync.syncSettings.syncUp == DateTime.MinValue)
            {
                MyFormField.SetLabelText(labelLastSyncUp, "Not yet");
            }
            else
            {
                MyFormField.SetLabelText(labelLastSyncUp, Sync.syncSettings.syncUp);
            }

            SetList();
        }
        private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            loadVideos.AbortBackgroundWorkers();

            // meh
            Application.DoEvents();

            // save settings
            if (!Config.Save(this))
            {
            }

            // save video sources
            if (!ListVideoInfo.Save())
            {
            }
        }