/// <summary> /// read last open state /// </summary> /// <returns></returns> public static string readSessionState() { try { return(FileReaderWriter.readFromFile(Settings.GlobalApplicationSettings.SessionSaveState)); } catch { return(""); } }
/// <summary> /// write last open state /// </summary> /// <param name="state"></param> public static void writeSessionState(string state) { FileReaderWriter.writeToFile(Settings.GlobalApplicationSettings.SessionSaveState, state); }