private void PawnPaymentButton_Click(object sender, EventArgs e) { PawnPayment pawnPayment = null; if (pawnPayment != null) { pawnPayment.Activate(); } else { pawnPayment = new PawnPayment(); pawnPayment.Show(); } }