コード例 #1
0
        private void customButtonClose_Click(object sender, EventArgs e)
        {
            string errorCode;
            string errorText;

            RetailProcedures.LockItem(CashlinxPawnSupportSession.Instance, icn.Text, out errorCode, out errorText, "N");
            NavControlBox.Action = NavBox.NavAction.BACKANDSUBMIT;
        }
コード例 #2
0
        private void LockUnlockRetailItem(RetailItem item, bool lockItem)
        {
            string errorText = null;
            string errorCode = null;

            if (item.mDocType != "7")
            {
                RetailProcedures.LockItem(DesktopSession, item.Icn, out errorCode, out errorText, lockItem ? "Y" : "N");
            }
        }