private void btnStatus_Click(object sender, EventArgs e) { Login server = (Login)formlogin; btnStatus.Text = server.tmp; }
public register(Login login, string sever) { InitializeComponent(); _login = login; TBServer.Text = sever; }