📄 outputtablelogic.cs
字号:
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
namespace DataModal
{
public partial class HidaKitDataSet
{
public partial class OUTPUTSDataTable
{
public void InitLogic()
{
TableNewRow += new DataTableNewRowEventHandler(OUTPUTSDataTable_TableNewRow);
}
void OUTPUTSDataTable_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["OUTPUT_DATE"] = DateTime.Today;
}
}
public partial class OUTPUT_DETAILDataTable
{
public CommonLogic CommonLogic = new CommonLogic();
public void InitLogic()
{
TableNewRow += new DataTableNewRowEventHandler(OUTPUT_DETAILDataTable_TableNewRow);
ColumnChanging += new DataColumnChangeEventHandler(CommonLogic.StockCheckLogic);
}
void OUTPUT_DETAILDataTable_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["AUTO_ID"] = Guid.NewGuid();
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -