private void historyMenuItem_Click(object sender, EventArgs e) { if (historyForm != null) { showError("History Form is already open"); } else { if (currentPlayer != null) { historyForm = new HistoryForm(this); historyForm.Show(); } else { showError("Error: Please login first"); } } }
private void historyMenuItem_Click(object sender, EventArgs e) { if (historyForm != null) showError("History Form is already open"); else { if (currentPlayer != null) { historyForm = new HistoryForm(this); historyForm.Show(); } else showError("Error: Please login first"); } }