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