private void panel1_Click(object sender, EventArgs e) { if (_statScreen == null) { _statScreen = new frmStats(); _statScreen.FormClosing += (a, b) => { _statScreen = null; }; _statScreen.Show(); } else { _statScreen.Focus(); } }