public SettingWorkerJson() { _appSettingClass = new AppSettingClass() { LastPath = "" }; }
public WindowClass( ) { Console.BackgroundColor = ConsoleColor.DarkBlue; Console.Clear(); Console.WindowHeight = WINDOW_HEIGHT; Console.SetBufferSize(Console.WindowWidth, WINDOW_HEIGHT); Console.SetWindowSize(Console.WindowWidth, WINDOW_HEIGHT); _settingWorker = new SettingWorkerJson(); _appSetting = _settingWorker.ReadJsonSetting(); _selectedDir = FDWorker.GetDirectory(_appSetting.LastPath); _selectedDirName = FDWorker.GetDirectoryNames(_appSetting.LastPath); _listInfo = new List <string> { _txtInfo }; _indexController = new CountControllerInWin(); _indexController.StartIndex = 0; _indexController.EndIndex = MAX_NUMBER_FILE_NAMES; }