private void REsult() { Automotive_Car NewCar = new Automotive_Car(); // Create a NewCra object. Automotive_Customer NewCustomer = new Automotive_Customer(); // Create a NewCustomer object. ServiceRequest Charges = new ServiceRequest(); // Create a Charges object. getAutomiveCar(NewCar); getAutomiveCustomer(NewCustomer); getServiceCharges(Charges); }
private void getAutomiveCustomer(Automotive_Customer newCustomer) { newCustomer.Name = textBoxName.Text; // Get the customer's name. newCustomer.Address = textBoxAddress.Text; // Get the customer's address. newCustomer.Phone = textBoxPhone.Text; // Get the customer's phone }