Пример #1
0
        private void btnExpandDiscount_Click(object sender, EventArgs e)
        {
            if (discountDetails == null)
            {
                discountDetails = new frmDiscountDetails(transaction, this);
            }
            else
            {
                if (discountDetails.Created == false)
                {
                    discountDetails = new frmDiscountDetails(transaction, this);
                }
            }

            discountDetails.MdiParent = this.ParentForm;
            discountDetails.Show();
            discountDetails.Activate();
        }
Пример #2
0
        private void btnExpandDiscount_Click(object sender, EventArgs e)
        {
            if (discountDetails == null)
            {
                discountDetails = new frmDiscountDetails(transaction, this);
            }
            else
            {
                if (discountDetails.Created == false)
                {
                    discountDetails = new frmDiscountDetails(transaction, this);
                }
            }

            discountDetails.MdiParent = this.ParentForm;
            discountDetails.Show();
            discountDetails.Activate();
        }