public Form2(int id) { InitializeComponent(); service = new CarWS.ClientInterfaceClient(); customer = service.getCustomer(id); cars = service.getCars(); this.customerName.Text = UppercaseFirst(customer.name) + " " + UppercaseFirst(customer.surname); this.customerMail.Text = customer.mail; loadReservations(); loadCars(); dateTimePicker1.Value = DateTime.Today.AddDays(1); dateTimePicker3.Value = DateTime.Today.AddDays(1); }
public Form1() { InitializeComponent(); service = new CarWS.ClientInterfaceClient(); }