using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Text;
|
using System.Windows.Forms;
|
|
namespace WarM
|
{
|
public partial class Kf_MateOutInBookReportDlg : Form
|
{
|
public Kf_MateOutInBookReportDlg()
|
{
|
InitializeComponent();
|
}
|
|
public int IsOk;
|
|
|
|
|
private void cmdCancel_Click(object sender, EventArgs e)
|
{
|
IsOk = 2;
|
this.Visible = false;
|
}
|
|
private void cmdOK_Click(object sender, EventArgs e)
|
{
|
IsOk = 1;
|
this.Visible = false;
|
}
|
|
private void Kf_MateOutInBookReportDlg_Activated(object sender, EventArgs e)
|
{
|
IsOk =0;
|
}
|
|
private void cmdHBWhID_Click(object sender, EventArgs e)
|
{
|
BLL.ClsBaseSelect.SetTextByWarehouse(txtHBWhID,true);
|
}
|
|
private void cmdHEWhID_Click(object sender, EventArgs e)
|
{
|
BLL.ClsBaseSelect.SetTextByWarehouse(txtHEWhID,true);
|
}
|
|
private void Kf_MateOutInBookReportDlg_Load(object sender, EventArgs e)
|
{
|
|
}
|
|
private void cmdHBMaterialID_Click(object sender, EventArgs e)
|
{
|
BLL.ClsBaseSelect.SetTextByMaterial(txtHBMaterialID);
|
}
|
|
private void cmdHEMaterialID_Click(object sender, EventArgs e)
|
{
|
BLL.ClsBaseSelect.SetTextByMaterial(txtHEMaterialID);
|
}
|
|
|
|
|
|
private void chkHSumFlag_CheckedChanged(object sender, EventArgs e)
|
{
|
if (chkHSumFlag.Checked)
|
{
|
lblHSumType.Visible = true;
|
cmbHSumType.Visible = true;
|
}
|
else
|
{
|
lblHSumType.Visible = false;
|
cmbHSumType.Visible = false;
|
}
|
}
|
|
private void timer1_Tick(object sender, EventArgs e)
|
{
|
timer1.Enabled = false;
|
dtpHBDate.Value = DateTime.Today;
|
dtpHEDate.Value = DateTime.Today;
|
cmbHSumType.SelectedIndex = 0;
|
}
|
}
|
}
|