Exemplo n.º 1
0
 private void _listener_OnKeyPressed(object sender, KeyPressedArgs e)
 {
     if (e.KeyPressed == System.Windows.Input.Key.F1)
     {
         if (cbbCheDoChay.SelectedIndex == 0)
         {
             cbbCheDoChay.SelectedIndex = 1;
         }
     }
     else if (e.KeyPressed == System.Windows.Input.Key.F2)
     {
         frmNhapDuLieuBangTay fm = new frmNhapDuLieuBangTay();
         fm.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private void label10_Click(object sender, EventArgs e)
        {
            frmNhapDuLieuBangTay fm = new frmNhapDuLieuBangTay();

            fm.ShowDialog();
        }