示例#1
0
        /// <summary>
        /// 新增
        /// </summary>
        protected override void New()
        {
            frmPatchGoods myPatchGoods = new frmPatchGoods();

            myPatchGoods.ShowDialog();
            myPatchGoods.Dispose();
            base.New();
        }
示例#2
0
        /// <summary>
        /// 编辑  
        /// </summary>
        protected override void Edit()
        {
            if (gvList.FocusedRowHandle < 0)
            {
                return;
            }
            DataRow dr = gvList.GetDataRow(gvList.FocusedRowHandle);

            frmPatchGoods myPatchGoods = new frmPatchGoods();

            myPatchGoods.strBillID = dr["F_BillID"].ToString();
            myPatchGoods.ShowDialog();
            myPatchGoods.Dispose();
            base.Edit();
        }