Example #1
0
 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;
 }
Example #3
0
 public ShowCustomer(Property property, Users user, Consultants previousForm)
 {
     InitializeComponent();
     this.property     = property;
     customer          = new Customer();
     this.user         = user;
     da                = new DataAccess();
     this.previousForm = previousForm;
 }