This commit is contained in:
2020-04-30 14:19:18 +00:00
parent 91bbd64149
commit 10662ab5e2
3 changed files with 82 additions and 22 deletions

View File

@@ -11,22 +11,29 @@ namespace AyaNova.PlugIn.V8
{
public partial class ProgressForm : Form
{
public bool KeepGoing { get; set; }
public ProgressForm()
{
InitializeComponent();
KeepGoing = true;
}
public void StartedImport()
{
Cursor.Current = Cursors.WaitCursor;
//Cursor.Current = Cursors.WaitCursor;
btnClose.Enabled = false;
btnCancel.Enabled = true;
btnCancel.Visible = true;
}
public void FinishedImport()
{
Cursor.Current = Cursors.Default;
//Cursor.Current = Cursors.Default;
btnClose.Enabled = true;
btnCancel.Enabled = false;
btnCancel.Visible = false;
}
public void Append(string txt)
@@ -58,5 +65,13 @@ namespace AyaNova.PlugIn.V8
{
this.Close();
}
private void btnCancel_Click(object sender, EventArgs e)
{
KeepGoing = false;
}
//eoc
}
}