Пример #1
0
        private void btnRefresh_Click(object sender, EventArgs e)
        {
            m_Model.RaiseFilePathChangedEvent(m_Model.GetAllFilePaths());

            string error;

            if (!presenter.AddFilesFromFileList(fileOpenList.Items, out error, freshListRad.Checked))
            {
                filePathErrorProv.SetError(filePath, error);
            }
            else
            {
                filePathErrorProv.Clear();
            }
        }