//添加 private void toolAdd_Click(object sender, EventArgs e) { ControlStatus(); getClear(); txtThGoodsID.Text = tbMendd.tb_ThGoodsID(); intCoun = 1;//i添加标记 }
//添加按钮 private void addButton_Click(object sender, EventArgs e) { ChangeToolsStatus(); count = 1; //添加操作 txtThGoodsID.Text = thGoodsMenthod.tb_ThGoodsID(); button1.Enabled = true; Allow(); }