This commit is contained in:
42
source/Plugins/AyaNova.Plugin.V8/ProgressForm.cs
Normal file
42
source/Plugins/AyaNova.Plugin.V8/ProgressForm.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AyaNova.PlugIn.V8
|
||||
{
|
||||
public partial class ProgressForm : Form
|
||||
{
|
||||
public ProgressForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
public void StartedImport()
|
||||
{
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
btnClose.Enabled = false;
|
||||
}
|
||||
|
||||
public void FinishedImport()
|
||||
{
|
||||
Cursor.Current = Cursors.Default;
|
||||
btnClose.Enabled = true;
|
||||
}
|
||||
|
||||
public void Append(string txt)
|
||||
{
|
||||
edOut.AppendText(txt + "\r\n");
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user