예제 #1
0
        private void Page_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
        {
            int compare = e.Key.CompareTo(System.Windows.Input.Key.F12);

            if (compare == 0)
            {
                AyudaPrincipal ayuda = new AyudaPrincipal("27");
                ayuda.ShowDialog();
            }
        }
예제 #2
0
 private void Page_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
 {
     try
     {
         int compare = e.Key.CompareTo(System.Windows.Input.Key.F12);
         if (compare == 0)
         {
             AyudaPrincipal ayuda = new AyudaPrincipal("4");
             ayuda.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         clsBaseLog.cs_pxRegistarAdd(ex.ToString());
     }
 }
예제 #3
0
        private void Window_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
        {
            int compare = e.Key.CompareTo(System.Windows.Input.Key.Escape);

            if (compare == 0)
            {
                Close();
            }
            int compare2 = e.Key.CompareTo(System.Windows.Input.Key.F12);

            if (compare2 == 0)
            {
                AyudaPrincipal ayuda = new AyudaPrincipal("30");
                ayuda.ShowDialog();
            }
        }