Initial commit

This commit is contained in:
ChiKyun Kim
2025-07-17 16:11:46 +09:00
parent 4865711adc
commit 4a1b1924ba
743 changed files with 230954 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
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 Project.Dialog
{
public partial class fSelectCustInfo : Form
{
public string CustCode, CustName;
public fSelectCustInfo()
{
InitializeComponent();
}
private void fSelectCustInfo_Load(object sender, EventArgs e)
{
this.Show();
Application.DoEvents();
var ta = new DataSet1TableAdapters.Component_Reel_CustInfoTableAdapter();
var dt = ta.GetData();
this.listView1.Items.Clear();
foreach(DataSet1.Component_Reel_CustInfoRow item in dt)
{
if (item.code.isEmpty()) continue;
var lv = this.listView1.Items.Add(item.code);
lv.SubItems.Add(item.name);
}
}
private void btOK_Click(object sender, EventArgs e)
{
if (this.listView1.FocusedItem == null)
return;
this.CustCode = this.listView1.FocusedItem.SubItems[0].Text;
this.CustName = this.listView1.FocusedItem.SubItems[1].Text;
DialogResult = DialogResult.OK;
}
}
}