private void lblStatus_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Escape) { this.Close(); } if (e.KeyData == Keys.P) { StatementofAcc sa = new StatementofAcc(); sa.ShowDialog(); } }
private void btnStatementOfAccount_Click(object sender, EventArgs e) { StatementofAcc sa = new StatementofAcc(); sa.ShowDialog(); }