private void btnCancel_Click(object sender, RoutedEventArgs e) { txtName.Clear(); Pwd.Clear(); Pwd2.Clear(); }