Exemplo n.º 1
0
        protected override void New()
        {
            frmBomEdit myBomEdit = new frmBomEdit();

            myBomEdit.ShowDialog();
            myBomEdit.Dispose();
            BindData();
            base.New();
        }
Exemplo n.º 2
0
        protected override void CopyData()
        {
            if (gvBase.FocusedRowHandle < 0)
            {
                return;
            }
            base.CopyData();
            DataRow    dr        = gvBase.GetDataRow(gvBase.FocusedRowHandle);
            frmBomEdit myBomEdit = new frmBomEdit();

            myBomEdit.strItemID = dr["F_ItemID"].ToString();
            myBomEdit.ShowDialog();
            myBomEdit.Dispose();
        }
Exemplo n.º 3
0
        protected override void Edit()
        {
            if (gvBase.FocusedRowHandle < 0)
            {
                return;
            }

            DataRow    dr        = gvBase.GetDataRow(gvBase.FocusedRowHandle);
            frmBomEdit myBomEdit = new frmBomEdit();

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