private void processCustomerChild(CustomerUserControl theUC) { if (theUC != null && theUC.CustomerID != null) { this.customerID = theUC.CustomerID; } }
private void processCustomerChild(CustomerUserControl theUC) { if (theUC != null && theUC.CustomerID != null) { this.customerID = theUC.CustomerID; SwitchTo = UserControls.PurchaseTransaction; CurrentState = RentMeUserControlPrimaryStates.Hiding; } }