using BO.Utils;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace DropPigReOrder
|
|
{
|
|
public partial class ReOrderForm : Form, IAfterLogin
|
|
{
|
|
public string RoleName
|
|
{
|
|
get { return "掉猪处理员"; }
|
|
}
|
|
|
|
public Form Generate()
|
|
{
|
|
return this;
|
|
}
|
|
|
|
private delegate void InvokeHandler();
|
|
Thread syncWork;
|
|
public ReOrderForm()
|
|
{
|
|
InitializeComponent();
|
|
this.uDatePicker1.Date = DateTime.Today;
|
|
orderGridView.AutoGenerateColumns = false;
|
|
orderGridView.DataSource = null;
|
|
this.FormClosing += delegate
|
|
{
|
|
if (syncWork != null && syncWork.IsAlive)
|
|
syncWork.Abort();
|
|
};
|
|
}
|
|
|
|
private void OkBtn_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void updateBtn_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|