M
Marcus Vinícius
Good morning
I have a form in c# (windows form) where the user select the his state. This
string was put in a public field and a property check it (GET/SET). When the
user click in OK button in this form, i have a string strEst with his value
(state). This search for is called to principal form, so the value of strEst
must be put in principal form, but i can't do it...
When I show the strEst value in principal form, it is empty...I can't catch
the serch value selected in serch form...
See the code please:
private void btnBuscarEstado_Click(object sender, System.EventArgs e)
{
// Call the form references by state
frmEstado objEstado = new frmEstado();
objEstado.Show();
// Set the value selected in this form
this.txtEstado.Text = objEstado.strEst;
}
Anybody here can help me?
--
-------------------------------------------------
Marcus Vinícius M. Montezano
develoepr
Digiexpress
I have a form in c# (windows form) where the user select the his state. This
string was put in a public field and a property check it (GET/SET). When the
user click in OK button in this form, i have a string strEst with his value
(state). This search for is called to principal form, so the value of strEst
must be put in principal form, but i can't do it...
When I show the strEst value in principal form, it is empty...I can't catch
the serch value selected in serch form...
See the code please:
private void btnBuscarEstado_Click(object sender, System.EventArgs e)
{
// Call the form references by state
frmEstado objEstado = new frmEstado();
objEstado.Show();
// Set the value selected in this form
this.txtEstado.Text = objEstado.strEst;
}
Anybody here can help me?
--
-------------------------------------------------
Marcus Vinícius M. Montezano
develoepr
Digiexpress