mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2026-02-22 12:23:24 +00:00
Added file transfer skip if file already exists.
This commit is contained in:
@@ -8,12 +8,15 @@ namespace MeshCentralRouter
|
||||
public FileConfirmOverwriteForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
skipCheckBox.Checked = (Settings.GetRegValue("skipExistingFiles", "0") == "1");
|
||||
}
|
||||
|
||||
public string mainTextLabel { get { return mainLabel.Text; } set { mainLabel.Text = value; } }
|
||||
public bool skipExistingFiles { get { return skipCheckBox.Checked; } set { skipCheckBox.Checked = value; } }
|
||||
|
||||
private void okButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Settings.SetRegValue("skipExistingFiles", skipCheckBox.Checked ? "1" : "0");
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user