mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-13 05:55:39 +02:00
rename functions
This commit is contained in:
parent
19d53d7d7f
commit
1e8b72ad1e
2 changed files with 4 additions and 4 deletions
|
@ -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*/);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue