0
I have the following problem: I have a function that is called when the button triggers the textchanged event only when I start the program for the first time it calls the textchanged function in the load event. I want that when starting the program the textchanged is not triggered although the text of the label.Code of form_load:
private void Form1_Load(object sender, EventArgs e)
{
lbl_off.Text = "- Modo Offline, conecte para iniciar a contagem.";
}
Event code text_changed:
if (lb_TA.Text == "1")
{
turno_para_oee = "3";
Tubeteira_Oee();
}
if (lb_TA.Text == "2")
{
turno_para_oee = "1";
Tubeteira_Oee();
}
if (lb_TA.Text == "3")
{
turno_para_oee = "2";
Tubeteira_Oee();
}
}
does not have another way to declare this text? in the instance of "lbl_off"
– M. Bertolazo