Files
ATV_STDLabelAttach/Handler/Project/Dialog/fSelectCustInfo.cs
ChiKyun Kim 9a7d1d27c7 프로젝트 구조 개선 및 README.md 추가
- UIControl 프로젝트 구조 변경 (CapCleaningControl → Sub/UIControl)
- arAjinextek 라이브러리 통합 및 구조 개선
- 새로운 arAjinextek_Union 프로젝트 추가
- 솔루션 파일에 README.md 추가
- QR 모드에서 WMS RCV 태그 인식 기능 강화
- 데이터베이스 스키마 업데이트 및 관련 클래스 수정
- 프린터 및 바코드 장치 연동 로직 개선

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-07 08:35:56 +09:00

49 lines
1.1 KiB
C#

using AR;
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.K4EE_Component_Reel_CustInfoTableAdapter();
var dt = ta.GetData();
this.listView1.Items.Clear();
foreach(DataSet1.K4EE_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;
}
}
}