Files
ayanova7/source/Plugins/AyaNova.Plugin.Dump/ProgressForm.cs
2018-08-29 17:40:11 +00:00

43 lines
907 B
C#

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.Dump
{
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();
}
}
}