/// <summary> /// Check the application config settings, initialize the workingmemory repos from their source files, create a log file if one doesn't exist. /// </summary> public static void Start() { SetTestOrProd.SetTestOrProdMode(Properties.Settings.Default.TestMode); SetTestOrProd.MyStatesObject.GetStates(); SetTestOrProd.MyProductObject.GetProducts(); FileStream fs = new FileStream(@"..\..\..\Documents\log.txt", FileMode.OpenOrCreate); fs.Close(); }
public static void Start() { SetTestOrProd.SetTestOrProdMode(TestMode); SetTestOrProd.MyStatesObject.GetStates(); SetTestOrProd.MyProductObject.GetProducts(); }
/// <summary> /// Set test or prod mode, based on a bool obtained from app settings /// </summary> public static void Start() { SetTestOrProd.SetTestOrProdMode(TestMode); firstRun = false; }