3
Guys I’m having a boring problem. I wanted to put the text I took out of a textbox and put in another that this defined as readonly. I wanted it to work as a label. I tried textchange gave error.
private void btncalcular_Click(object sender, EventArgs e)
{
string salario = txtsalario.Text;
double salario_num = double.Parse(salario);
double liquido = (salario_num * 0.12);
double conta = (salario_num - liquido);
}
I’m kind of a layman, so I was wondering what I could do. I don’t know if what I’m trying to do is valid so I tried to do with a label but also found complications. Someone has a light?
Thanks for the help and clarification :D
– Guilherme Castello