public MainServer() { _cbList = new BoardList(); _logger.UseMemLog = true; _logger.LogMethodNames = true; _logger.OpenLogFile(Settings.ApplicationPath + Defs.LOG_FILE_NAME); _logger.WriteLine(""); _logger.WriteLine("****************************************************************************************"); _logger.WriteLine("* *"); _logger.WriteLine("* Application started *"); _logger.WriteLine("* Board Control *"); _logger.WriteLine("* *"); _logger.WriteLine("****************************************************************************************"); _logger.WriteLine(""); _logger.WriteLine("Application Name: " + AppHelper.GetApplicationName() + ".exe ver. " + AppHelper.GetApplicationVersionInfo().ProductVersion); _logger.WriteLine("Run Path: " + AppHelper.GetApplicationPath()); _logger.WriteLine(""); _iniFile = new INIFile(AppHelper.GetApplicationPath() + Defs.INI_FILE_NAME, false, true); }
static Settings() { ApplicationPath = AppHelper.IncludeTrailingBackslash(AppHelper.GetApplicationPath()); }