private void algfocus()
 {
     if (isAESexists)
     {
         AESalg.Focus();
     }
     else if (isDESexists)
     {
         DESalg.Focus();
     }
     else if (isRSAexists)
     {
         RSAalg.Focus();
     }
     else if (isMD5exists)
     {
         MD5alg.Focus();
     }
     else if (isBASEexists)
     {
         BASEalg.Focus();
     }
 }
 private void AESalg_Click(object sender, RoutedEventArgs e)
 {
     UnCheckall();
     MenuAES.IsChecked = true;
     AESalg.Focus();
 }