Good, After the user tips I decided to improve my C # code on the calculator. I think it is simpler but I have a small problem in Square Root because I try to make the count and the result always gives me 0.
private void btn_raiz_Click(object sender, RoutedEventArgs e)
{
resutado = Convert.ToSingle(Math.Sqrt(primeiro));
janela.Text = resutado.ToString();
}