Beispiel #1
0
        private void btnPayment_Click(object sender, EventArgs e)
        {
            ReceiptForm payment = FormPool.ReceiptForm;

            payment.FormClosed += (s, args) => this.Close();
            payment.Show();
            this.Hide();
        }
Beispiel #2
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            ReceiptForm catchReceiptForm = FormPool.ReceiptForm;

            this.Hide();
            catchReceiptForm.Show();
            catchReceiptForm.FormClosed += (s, args) => this.Close();
        }