mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2026-02-26 09:23:15 +00:00
Added file tranfer overwrite warning.
This commit is contained in:
25
FileConfirmOverwriteForm.cs
Normal file
25
FileConfirmOverwriteForm.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace MeshCentralRouter
|
||||
{
|
||||
public partial class FileConfirmOverwriteForm : Form
|
||||
{
|
||||
public FileConfirmOverwriteForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public string mainTextLabel { get { return mainLabel.Text; } set { mainLabel.Text = value; } }
|
||||
|
||||
private void okButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void cancelButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user