private void undolog() { LogSerialiser logS = new LogSerialiser(); logS.saveLog(currentLog, ".\\Settings\\redostack.fsu"); LogSerialiser lS = new LogSerialiser(); this.currentLog = lS.loadLog(".\\Settings\\undostack.fsu"); saveLog(); updateListView(); redoToolStripMenuItem.Enabled = true; redoValid = true; undoToolStripMenuItem.Enabled = false; undoValid = false; }
private void pushLog() { LogSerialiser logS = new LogSerialiser(); logS.saveLog(currentLog, ".\\Settings\\undostack.fsu"); undoToolStripMenuItem.Enabled = true; undoValid = true; }
private void saveLog() { currentLog.setLastModDate(); LogSerialiser logS = new LogSerialiser(); logS.saveLog(currentLog, currentSetting.logPath); }
private void initialiseLog() { LogSerialiser lS = new LogSerialiser(); this.currentLog = lS.loadLog(currentSetting.logPath); logPasswordCheck(); updateLogDisplay(); updateListView(); saveLog(); }