示例#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();
            }
        }
示例#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();
            }
        }