protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Enter) { if (m_level == RewardLevel.Four) { //读取所有合法用户,过滤掉已经获奖的用户 InitUIByLevel(true, false); FrmInput4Level frm = new FrmInput4Level(RewardLevel.Four, m_users, m_exclude); frm.ShowDialog(); return base.ProcessCmdKey(ref msg, keyData); } else { btnStart_Click(null, null); return true; } } else { return base.ProcessCmdKey(ref msg, keyData); } }
版权声明:本文为cooleader320原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。