private void newChampMenuItem_Click(object sender, EventArgs e) { if (newChampForm != null) { showError("New Championship Form is already open"); } else { if (currentPlayer != null) { newChampForm = new NewChampForm(this); newChampForm.Show(); } else { showError("Error: Please login first"); } } }
private void newChampMenuItem_Click(object sender, EventArgs e) { if (newChampForm != null) showError("New Championship Form is already open"); else { if (currentPlayer != null) { newChampForm = new NewChampForm(this); newChampForm.Show(); } else showError("Error: Please login first"); } }