public Search(Users user, Consultants cons) { InitializeComponent(); property = new Property(); da = new DataAccess(); this.user = user; this.cons = cons; }
public ShowBookedProperty(Users user, Consultants consultant) { InitializeComponent(); da = new DataAccess(); property = new Property(); customer = new Customer(); this.user = user; this.consultant = consultant; }
public ShowCustomer(Property property, Users user, Consultants previousForm) { InitializeComponent(); this.property = property; customer = new Customer(); this.user = user; da = new DataAccess(); this.previousForm = previousForm; }