Beispiel #1
0
        private void ReadUserFileFillListBox()
        {
            var dirPath  = DirectoryFileOperations.CheckDirectoryPathExistsCreate();
            var filePath = DirectoryFileOperations.CreatePathToUserFile(dirPath);

            SpellingReadWriteClass.ReadUserNameFile();
        }
Beispiel #2
0
        /// <summary>
        /// Read users names list from file.
        /// </summary>
        /// <created>art2m,5/20/2019</created>
        /// <changed>art2m,5/20/2019</changed>
        private void ReadUserFileFillListBox()
        {
            var dirPath = DirectoryFileOperations.CheckDirectoryPathExistsCreate();

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

            var filePath = DirectoryFileOperations.CreatePathToUserFile(dirPath);

            if (!SpellingReadWriteClass.ReadUserNameFile())
            {
                return;
            }

            this.FillListBoxWithUserNames();
        }