//, int _id) /// <summary> /// Initializes a new instance of the <see cref="PersonalAccountForm"/> class. /// </summary> /// <param name="newUser">User to set</param> /// <param name="newParent">Parent form to set</param> public PersonalAccountForm(Person newUser, ShopForm newParent) { this.InitializeComponent(); this.user = newUser; this.parent = newParent; //id = _id; }
public ShopControl(Person _user,Library _lib) { lib=_lib; user = _user; sform = new ShopForm(this,user,lib); }
/// <summary> /// Initializes a new instance of the <see cref="ShopControl"/> class. /// </summary> /// <param name="newUser">New user</param> /// <param name="newLib">New library</param> public ShopControl(Person newUser, Library newLib) { this.lib = newLib; this.user = newUser; this.sform = new ShopForm(this, this.user, this.lib); }
public ShopControl(Person _user, Library _lib) { lib = _lib; user = _user; sform = new ShopForm(this, user, lib); }