private void LoadUnformattedData()
        {
            var filePath = this.GetUnformattedDataFrom();

            FileInputClass.ReadTitlesFromFile(filePath);
            DataStorageOperationsClass.AddToBackUpList(this.DataCopy);
            this.totalCount = this.DataCopy.Count;
        }
        private void OnTitleSearchButtonClicked(object sender, EventArgs e)
        {
            var dirAuthors = AuthorsDirectoryFilesClass.GetPathToAuthorsDirectory();

            var filePath = DirectoryFileOperationsClass.CombineDirectoryPathWithFileName(dirAuthors,
                                                                                         BookListPropertiesClass.CurrentWorkingFileName);

            FileInputClass.ReadTitlesFromFile(filePath);
        }
        private void LoadUnformattedData()
        {
            this.GetUnformattedDataFrom();

            if (string.IsNullOrEmpty(this.filePath)) return;

            FileInputClass.ReadTitlesFromFile(this.filePath);

            DataStorageOperationsClass.AddToBackUpList(this.DataCopy);

            this.totalCount = this.DataCopy.Count;
        }
        private void LoadUnformattedData()
        {
            this.BookIsNotASeriesControlSettings();

            this.GetUnformattedDataFrom();

            if (string.IsNullOrEmpty(this.filePath))
            {
                return;
            }

            FileInputClass.ReadTitlesFromFile(this.filePath);

            DataStorageOperationsClass.AddToBackUpList(this.dataCopy);

            this.totalCount = this.dataCopy.Count;
        }
        private void LoadUnformattedData()
        {
            var filePath = this.GetUnformattedDataFrom();

            if (string.IsNullOrEmpty(filePath))
            {
                return;
            }

            FileInputClass.ReadTitlesFromFile(filePath);

            DataStorageOperationsClass.AddToBackUpList(this.DataCopy);

            this.totalCount = this.DataCopy.Count;

            this.btnFirst.Select();
        }
        private void SearchBookTitlesBySingleAuthor()
        {
            var dirAuthors = AuthorsDirectoryFilesClass.GetPathToAuthorsDirectory();

            var filePath = DirectoryFileOperationsClass.CombineDirectoryPathWithFileName(dirAuthors,
                                                                                         BookListPropertiesClass.CurrentWorkingFileName);

            TitleNamesCollection.ClearCollection();

            FileInputClass.ReadTitlesFromFile(filePath);

            this.FindTitlesInString();

            if (this.lstTiltes.Items.Count < 1)
            {
                this.lstTiltes.Items.Add("No titles with this search criteria were found.");
            }
        }
        private void OnTitleSearchButtonClicked(object sender, EventArgs e)
        {
            var dirAuthors = AuthorsDirectoryFilesClass.GetPathToAuthorsDirectory();

            var filePath = DirectoryFileOperationsClass.CombineDirectoryPathWithFileName(dirAuthors,
                BookListPropertiesClass.CurrentWorkingFileName);

            TitleNamesCollection.ClearCollection();

            FileInputClass.ReadTitlesFromFile(filePath);

            this.FindTitlesInString();

            if (this.lstTiltes.Items.Count < 1)
            {
                this.lstTiltes.Items.Add( "No titles wit
            }
        }
        private void SearchBookTitlesAllAuthors()
        {
            AuthorsDirectoryFilesClass.GetAllAuthorFilePathsContainedInAuthorDirectory();

            TitleNamesCollection.ClearCollection();
            this.lstTiltes.

            for (var i = 0; i < AuthorsFileNamesCollection.ItemsCount(); i++)
            {
                var fileName   = AuthorsFileNamesCollection.GetItemAt(i);
                var dirAuthors = AuthorsDirectoryFilesClass.GetPathToAuthorsDirectory();
                var filePath   = DirectoryFileOperationsClass.CombineDirectoryPathWithFileName(dirAuthors,
                                                                                               fileName);
                this.txtAuthorName.Text = fileName;

                FileInputClass.ReadTitlesFromFile(filePath);
                this.FindTitlesInString();
            }
        }