..
This commit is contained in:
46
SubProject/FEQ0000/PurchaseNR/fSIDListSelect.cs
Normal file
46
SubProject/FEQ0000/PurchaseNR/fSIDListSelect.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fSIDListSelect : Form
|
||||
{
|
||||
public fSIDListSelect(string sid,DataTable dt)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.bs.DataSource = dt;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.bs.Sort = "quantity desc";
|
||||
this.Text = $"SPM/NR 검색 결과 SID:{sid}";
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
this.Width += 150;
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
DBM.InsertLog("SIDCHK", this.Text);
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dataGridView1_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void fSIDListSelect_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.dv1.AutoResizeColumns();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user