コード例 #1
0
 public SettingWorkerJson()
 {
     _appSettingClass = new AppSettingClass()
     {
         LastPath = ""
     };
 }
コード例 #2
0
ファイル: WindowClass.cs プロジェクト: Dant777/FileManager
        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;
        }