Пример #1
0
 private void InitializePage()
 {
     Window.Current.CoreWindow.KeyDown += CoreWindow_KeyDown;
     Loaded   += (sender, e) => canvas.Focus(FocusState.Programmatic);
     Unloaded += (sender, e) => _context.Dispose();
 }