Exemplo n.º 1
0
        private void pictureBox6_Click(object sender, EventArgs e)
        {
            ProductName = label_name6.Text;
            PurchaseForm purchaseForm = new PurchaseForm();

            purchaseForm.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnPurchase_Click(object sender, EventArgs e)
        {
            PurchaseForm puchaseForm = new PurchaseForm();

            puchaseForm.ShowDialog();

            if (puchaseForm.DialogResult == DialogResult.OK)
            {
                txbRemainTime.Text = Credential.Instance.User.RemainSeatTime.ToString();
            }
        }