private void addTransactionButton_Click(object sender, EventArgs e) { this.Hide(); AddForms.AddTransaction transactionWindow = new AddForms.AddTransaction(Connection, idEmployee); transactionWindow.ShowDialog(); this.Show(); }
private void makeTransaction_Click(object sender, EventArgs e) { this.Hide(); AddForms.AddTransaction addTransaction = new AddForms.AddTransaction(Connection, idEmployee); addTransaction.ShowDialog(); this.Show(); }