mirror of
https://github.com/Stone-Red-Code/AutoBackup.git
synced 2026-09-04 08:56:07 +02:00
+11
-10
@@ -14,18 +14,18 @@ namespace AutoBackup
|
|||||||
{
|
{
|
||||||
public partial class MainForm : Form
|
public partial class MainForm : Form
|
||||||
{
|
{
|
||||||
private List<string> sourceFolders = new List<string>();
|
List<string> sourceFolders = new List<string>();
|
||||||
private List<List<string>> destinationFolders = new List<List<string>>();
|
List<List<string>> destinationFolders = new List<List<string>>();
|
||||||
private List<int[]> optionsList = new List<int[]>();
|
List<int[]> optionsList = new List<int[]>();
|
||||||
private readonly Backup backup;
|
readonly Backup backup;
|
||||||
|
|
||||||
private bool addSourceFolder = true;
|
bool addSourceFolder = true;
|
||||||
private bool blockWrite = false;
|
bool blockWrite = false;
|
||||||
|
|
||||||
private readonly string localApplicationDataPath;
|
readonly string localApplicationDataPath;
|
||||||
|
|
||||||
private const string AppName = "AutoBackup";
|
const string AppName = "AutoBackup";
|
||||||
private const string registrykey = "HKEY_CURRENT_USER\\" + AppName;
|
const string registrykey = "HKEY_CURRENT_USER\\" + AppName;
|
||||||
|
|
||||||
public MainForm()
|
public MainForm()
|
||||||
{
|
{
|
||||||
@@ -103,7 +103,7 @@ namespace AutoBackup
|
|||||||
statusLabel.Text = textToDisplay;
|
statusLabel.Text = textToDisplay;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LoadFolders()
|
void LoadFolders()
|
||||||
{
|
{
|
||||||
if (!File.Exists(localApplicationDataPath + "\\data.save"))
|
if (!File.Exists(localApplicationDataPath + "\\data.save"))
|
||||||
return;
|
return;
|
||||||
@@ -384,6 +384,7 @@ namespace AutoBackup
|
|||||||
|
|
||||||
private void MainForm_Load(object sender, EventArgs e)
|
private void MainForm_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user