string[] info;
private void EditSafeStore_Load(object sender, EventArgs e)
{
if (Tag != null)
{
info = Tag.ToString().Split(',');
lblStore.Text = info[4];
lblLast.Text = "成品" + info[2] + "的原来备案量为" + info[3];
}
}
private void btnSure_Click(object sender, EventArgs e)
{
//进行修改操作 0 STID 1 PTID 3 LastSafeStore 4 NowSafeStore
int EditNum = basicsetbll.SaveEditSafeStore(info[0], info[1], info[3], txtSafeStore.Text.TrimEnd());
if (EditNum == 1)
{
MessageBox.Show("修改成功!", "系统提示");
this.Close();
}
}
这个代码中用了很多的tag,但是我就是不理解这样写的意思,有谁可以给我解释一下嘛。为什么tag可以这样用呢。我先谢谢了。