People, I have a boring problem. I wanted to put the text I took from one textbox and put in another that is set to 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 a layman on the subject so I wanted to know what I can do. I do not know if what I'm trying to do is valid so I tried to do it with a label but I also encountered complications. Does anyone have a light?