Esempio n. 1
0
        private void performTransactionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TransactionForm transaction = new TransactionForm();

            transaction.MdiParent = this;
            transaction.Show();
        }
Esempio n. 2
0
        private void transactionButton_Click(object sender, EventArgs e)
        {
            TransactionForm transactionForm = new TransactionForm();

            transactionForm.Region = this.Region;
            this.Hide();
            transactionForm.displayUsernameLabel.Text = usernammeLabel.Text;
            transactionForm.Show();
        }