Thank you for your help.
Today, I was able to resolve by doing the following:
In form1 I added in my method:
public void logar()
{
c_consulta.sqlconexão();
SqlConnection sqlcon = new SqlConnection(c_consulta.sqltring);
usu = textBox1.Text;
pass = textBox2.Text;
int ret_eid = trazerid.retorna_eid(usu, pass);
int ret_uid = trazerid.retorna_uid(usu, pass);
//idchange(ret_eid, ret_uid);
Tinicial telamenu = new Tinicial(ret_eid,ret_uid);
telamenu.Show();
}
No form2 I added in the constructor:
public Tinicial(int ret_eid, int ret_uid)
{
InitializeComponent();
label7.Text = Convert.ToString(ret_eid);
dados_cliente(ret_eid);
dados_usuario(ret_uid);
}
It worked, but I know it's not the best way to do it, right? I'll try to do it for threads. if they could advance me some good text on, it would be grateful.
Thank you people