help pzhl who than can :) There is a form of authorization
private void btnLogin_Click(object sender, EventArgs e) { if (comboLogin.Text == "Вася" && txtPass.Text == "1111") { this.Hide(); f1.lblRole.Text = comboLogin.Text; f1.Show(); } After logging in, the user enters the main form. Also on the main form there is a UserControl (there basically DatagridView lives there). So, on the main form there is a label "lblRole", in the properties it is set Modifiers: public, Text: User None. In lblRole it is displayed who entered, then Vasya. But UserControl does not read the logged in Vasya, but what is displayed in the lblRole properties of the main form, this is UserNone.
Code in UserControl
private void b1_Load(object sender, EventArgs e)// LOAD { frmMain fm = new frmMain(); label1.Text = fm.lblRole.Text; } That's actually the question itself, how to get who entered "Vasya" and not the properties from lblRole in UserControl?

