Revert "a"

This reverts commit 5c8395f426.
This commit is contained in:
Stone-Red-Code
2021-02-24 22:29:54 +01:00
parent 5c8395f426
commit ccae85b151
+11 -10
View File
@@ -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)
{ {
} }
} }
} }