Ejemplo n.º 1
0
        public DirectoryScanner()
        {
            InitializeComponent();
            DebugLogging.CreateDebugLogger();
            string confignName = "configuration.xml";

            _config.Save(confignName);                         //This needs to be delcared here right now. The load cannot occur unless this gets saved on startup.
            _config = Configuration.LoadFromFile(confignName); //TODO: --3-- try to get config file and other things into their own dll i can use
            ConfigCheck();
        }
Ejemplo n.º 2
0
        }//Sorts the List

        /// <summary>
        /// Performs data logging to the debuglogging file
        /// </summary>
        /// <param name="log"></param>
        private void Log(string log)
        {
            DebugLogging.LogActivity(log);
        }
Ejemplo n.º 3
0
        }//Opens file path upon browse button click

        private void Log(string log)
        {
            DebugLogging.LogActivity(log);
            tsslStatus.Text = $"{DateTime.Now:yyyymmdd-HHMMss} {log}";
        }