I have a XAML (Cadastro.xaml) where I made a TextBox
and a PasswordBox
and named them as txtCpf
and txtSenha
, until then without any problem.
When I'm going to use them in Cadastro.xaml.cs
, I can not and the error appears saying:
"The name does not exist in the current context"
How do I declare in .cs
the two TextBox
?