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

            myBomEdit.ShowDialog();
            myBomEdit.Dispose();
            BindData();
            base.New();
        }
Esempio 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();
        }
Esempio 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();
        }