using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Text;
|
using System.Windows.Forms;
|
|
namespace CostM
|
{
|
public partial class Pay_AccPayMentDayBill2 : Form
|
{
|
public int HCode;
|
|
public Pay_AccPayMentDayBill2()
|
{
|
InitializeComponent();
|
}
|
|
private void button1_Click(object sender, EventArgs e)
|
{
|
HCode = 1;
|
this.Hide();
|
}
|
|
private void button2_Click(object sender, EventArgs e)
|
{
|
HCode = 2;
|
this.Hide();
|
}
|
|
private void Pay_AccPayMentDayBill2_Load(object sender, EventArgs e)
|
{
|
|
}
|
|
private void button3_Click(object sender, EventArgs e)
|
{
|
HCode = 3;
|
this.Hide();
|
}
|
|
private void cmdHBMaterID_Click(object sender, EventArgs e)
|
{
|
DAL.ClsIF_Material_View oMater = new DAL.ClsIF_Material_View();
|
if (oMater.RefreshView(""))
|
{
|
txtHBMaterID.Tag = oMater.oModel.HItemID;
|
txtHBMaterID.Text = oMater.oModel.HNumber;
|
}
|
else
|
{
|
txtHBMaterID.Tag = "0";
|
txtHBMaterID.Text = "";
|
}
|
}
|
|
private void cmdHEMaterID_Click(object sender, EventArgs e)
|
{
|
DAL.ClsIF_Material_View oMater = new DAL.ClsIF_Material_View();
|
if (oMater.RefreshView(""))
|
{
|
txtHEMaterID.Tag = oMater.oModel.HItemID;
|
txtHEMaterID.Text = oMater.oModel.HNumber;
|
}
|
else
|
{
|
txtHEMaterID.Tag = "0";
|
txtHEMaterID.Text = "";
|
}
|
}
|
|
private void cmdHMaterID_Click(object sender, EventArgs e)
|
{
|
DAL.ClsIF_Material_View oMater = new DAL.ClsIF_Material_View();
|
if (oMater.RefreshView(""))
|
{
|
txtHMaterID.Tag = oMater.oModel.HItemID;
|
txtHMaterID.Text = oMater.oModel.HNumber;
|
}
|
else
|
{
|
txtHMaterID.Tag = "0";
|
txtHMaterID.Text = "";
|
}
|
}
|
|
|
}
|
}
|