diff --git a/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/Program.cs b/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/Program.cs index 4bcaf9f..f11ddb2 100644 --- a/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/Program.cs +++ b/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/Program.cs @@ -214,13 +214,13 @@ namespace Ninjacrab.PersistentWindows.SystrayShell } } - static public void Capture() + static public void CaptureToDisk() { GetProcessInfo(); pwp.BatchCaptureApplicationsOnCurrentDisplays(saveToDB : true); } - static public void RestoreDisk() + static public void RestoreFromDisk() { pwp.restoringFromDB = true; pwp.StartRestoreTimer(milliSecond : 2000 /*wait mouse settle still for taskbar restore*/); diff --git a/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/SystrayForm.cs b/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/SystrayForm.cs index 1b08a32..f2dbc55 100644 --- a/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/SystrayForm.cs +++ b/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/SystrayForm.cs @@ -151,13 +151,13 @@ namespace Ninjacrab.PersistentWindows.SystrayShell private void CaptureWindowClickHandler(object sender, EventArgs e) { - Program.Capture(); + Program.CaptureToDisk(); restoreToolStripMenuItem.Enabled = true; } private void RestoreWindowClickHandler(object sender, EventArgs e) { - Program.RestoreDisk(); + Program.RestoreFromDisk(); } private void PauseResumeAutoRestore(object sender, EventArgs e)