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