private void UpdateBindings()
        {
            MyBindingSource.ResetBindings(false);

            attachmentListBox.Refresh();
            attachmentListBox.Update();
        }
        private void ShowFilePathCheckBox_CheckedChanged(object sender, EventArgs e)
        {
            if (showFilePathCheckBox.Checked)
            {
                MyBindingSource.DataSource = AttachmentFilePaths;
            }
            else
            {
                MyBindingSource.DataSource = AttachmentFileNames;
            }

            MyBindingSource.ResetBindings(true);
        }
        private void OnLoad(object sender, EventArgs e)
        {               //****************************************
            WinBindingSource MyBindingSource;

            //****************************************

            if (_UserControl.Tag is WinBindingSource)
            {
                MyBindingSource = (WinBindingSource)_UserControl.Tag;
            }
            else
            {
                _UserControl.Tag = MyBindingSource = new WinBindingSource(_UserControl);
            }

            _ViewDef.ApplyTo(Presenter, _UserControl);

            MyBindingSource.Connect(Presenter);
        }