//新增 private void btnAdd_Click(object sender, EventArgs e) { DataRow newrow = dsScrapOutStore.Tables[0].NewRow(); newrow["MaterialType"] = "CScrap_Data"; dsScrapOutStore.Tables[0].Rows.Add(newrow); bsScrapOutStore.MoveLast(); Frm.ShowDialogEx(Adapter.Session); }
//出库 private void btnOutStore_Click(object sender, EventArgs e) { ScrapOutStoreShowFrm frm = new ScrapOutStoreShowFrm(); frm.ShowDialogEx(Adapter.Session); }