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