This commit is contained in:
atvstdla
2025-09-30 17:35:11 +09:00
parent 5a2eeed3c4
commit 1273ca8236
37 changed files with 1333 additions and 1033 deletions

View File

@@ -17,7 +17,7 @@ namespace Project.Dialog
{
string PrintPos = "";
public fLoaderInfo(List<string> errlist)
public fLoaderInfo(Dictionary<int, string> errlist)
{
InitializeComponent();
PUB.flag.set(eVarBool.FG_WAIT_LOADERINFO, true, "_LOAD");
@@ -31,7 +31,7 @@ namespace Project.Dialog
{
foreach (var item in errlist)
AddErrorMessage(item);
AddErrorMessage($"[{item.Key}] {item.Value}");
}
if (PUB.Result.vModel.IgnoreBatch) tbBatch.Enabled = false;
if (PUB.Result.vModel.IgnorePartNo) tbpartno.Enabled = false;
@@ -320,7 +320,7 @@ namespace Project.Dialog
//lv.SubItems.Add(item.CenterPX.Y.ToString());
if (item.RegExConfirm)
{
if (item.RefExApply)
if (item.RefExApply > 0)
lv.ForeColor = Color.Blue;
else
lv.ForeColor = Color.Black;
@@ -701,7 +701,7 @@ namespace Project.Dialog
var preDatas = DBHelper.Get(sql, ps);
if (preDatas.Rows.Count > 0) preData = preDatas.Rows[0] as DataSet1.K4EE_Component_Reel_ResultRow;
//기존자료가 없다면 취소
if (preData == null) return false;
@@ -2347,5 +2347,26 @@ namespace Project.Dialog
{
UTIL.TouchKeyShow(tbQtyMax, "INPUT MAX QTY(SAP)");
}
private void copyToClipboardToolStripMenuItem_Click(object sender, EventArgs e)
{
if (lvbcdList.FocusedItem == null)
{
UTIL.MsgE("No item has focus");
return;
}
try
{
var value = lvbcdList.FocusedItem.SubItems[1].Text.Trim();
Clipboard.SetText(value);
UTIL.MsgI($"Clipboard Copied\n{value}");
}
catch (Exception ex)
{
UTIL.MsgE(ex.Message+"\nClipboard");
}
}
}
}