public void SetCheck(CheckService cs) { if (cs == null) { return; } checkBox.Text = cs.Name; checkBox.Checked = true; label.Visible = true; label.Text = cs.Lable; checkBox.Visible = true; }
public UserImFormation(User user, CheckService x) : this() { userForm1.SetUser(user); userForm1.SetCheck(x); }