private void MainPage_KeyDown(object sender, KeyEventArgs e) { if (e.get_Key() == 4) { this.m_LastShiftPressed = DateTime.Now; } }