private void LabeledRevisionsLV_onMaxScroll(object sender, ScrollEventArgs e)
        {
            if ((maxItems > 0) && (LabeledRevisionsLV.Items.Count >= maxItems))
            {
                maxItems += (int)Preferences.LocalSettings.GetInt("Number_specs", 100);

                if (ParentControl != null)
                {
                    ParentControl.setFiles();
                }
            }
        }
        private void SwapViews()
        {
            if (inSwapViews)
            {
                return;
            }
            inSwapViews = true;
            try
            {
                LabeledRevisionsLV.Visible = LabeledRevisionsRB.Checked;
                WorkspaceFilesLV.Visible   = !LabeledRevisionsRB.Checked;

                if (ParentControl != null)
                {
                    ParentControl.setFiles();
                }
            }
            finally
            {
                inSwapViews = false;
            }
        }