Esempio n. 1
0
        private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (var frm = new frmSetDiscountCard(_db, wb))
            {
                if (frm.ShowDialog() == DialogResult.OK)
                {
                    disc_card = frm.cart;
                    KagentComboBox.EditValue = wb.KaId;

                    RefreshDet();
                }
            }
        }
Esempio n. 2
0
        private void DisCartButton_Click(object sender, EventArgs e)
        {
            _rawinput.KeyPressed -= OnKeyPressed;

            using (var frm = new frmSetDiscountCard(_db, wb))
            {
                if (frm.ShowDialog() == DialogResult.OK)
                {
                    disc_card = frm.cart;

                    RefreshDet();

                    SetFormTitle();
                }
            }

            _rawinput.KeyPressed += OnKeyPressed;
        }