Esempio n. 1
0
        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();
            }
        }
Esempio n. 2
0
        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();
            }
        }