Esempio n. 1
0
 /// <summary>
 /// 删除该条信息
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnDelete_Click(object sender, EventArgs e)
 {
     storeUnit.DeleteStoreStruct(cmbDel.SelectedItem.ToString(), txtRowNumber.Text, txtColumnNumber.Text, txtLayerNumber.Text);
     if (cmbDel.SelectedItem.ToString() != "全部删除")
     {
         LogBusiness.RecordLog("管理员", string.Format("将库位{0}-{1}-{2}删除", txtRowNumber.Text, txtColumnNumber.Text, txtLayerNumber.Text), "删除库位");
     }
     else
     {
         LogBusiness.RecordLog("管理员", "将仓库所有库位全部删除", "删除全部库位");
     }
     MessageBox.Show("删除成功,重启系统以后生效", "提示!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
 }