private void btLogin_Click(object sender, RoutedEventArgs e)
 {
     db.try_login(tb_User.Text, pb_Pwd.Password, this);
 }