/// <summary> /// 新增 /// </summary> protected override void New() { frmDrawGoods myDrawGoods = new frmDrawGoods(); myDrawGoods.ShowDialog(); myDrawGoods.Dispose(); base.New(); }
/// <summary> /// 编辑 /// </summary> protected override void Edit() { if (gvList.FocusedRowHandle < 0) { return; } DataRow dr = gvList.GetDataRow(gvList.FocusedRowHandle); frmDrawGoods myDrawGoods = new frmDrawGoods(); myDrawGoods.strBillID = dr["F_BillID"].ToString(); myDrawGoods.ShowDialog(); myDrawGoods.Dispose(); base.Edit(); }