예제 #1
0
        /// <summary>
        /// 新增
        /// </summary>
        protected override void New()
        {
            frmOutBill myOutBill = new frmOutBill();

            myOutBill.ShowDialog();
            myOutBill.Dispose();
            base.New();
        }
예제 #2
0
        /// <summary>
        /// 编辑  
        /// </summary>
        protected override void Edit()
        {
            if (gvList.FocusedRowHandle < 0)
            {
                return;
            }
            DataRow    dr        = gvList.GetDataRow(gvList.FocusedRowHandle);
            frmOutBill myOutBill = new frmOutBill();

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