在继承方法中加入自己的代码

 protected override void txtLotID_KeyPress(object sender, KeyPressEventArgs e)        {
            base.txtLotID_KeyPress(sender, e);//继承的代码
            if (e.KeyChar == (char)13)
            {
                DataTable dtPkg = WIPLIST.ViewPackageList(sPoId: CommonFunction.Trim(txtLotID.Text));
                if (dtPkg != null)
                {
                    DataRow dr = dtPkg.NewRow();
                    dr["包装批次"] = "";
                    dtPkg.Rows.InsertAt(dr, 0);
                    DevGridLookupHelper.InitPopup(gluPkgNo, new string[] { "", "", "包装批次" }, dtPkg, 2);
                }
            }
        }
以上是 在继承方法中加入自己的代码 的全部内容, 来源链接: utcz.com/z/510564.html








