private void buttonX2_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyValue == 27)
     {
         this.Close();
     }
     if (e.KeyCode == Keys.Up)
     {
         PDtxt2.Focus();
     }
 }
 private void PDtxt1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyValue == 27)
     {
         this.Close();
     }
     if (e.KeyValue == 13)
     {
         PDtxt2.Focus();
     }
 }