private void ShowEvents(object sender, EventArgs e) { if (vehicleEventsControl == null) { vehicleEventsControl = new VehicleEventsControl(); } controller.NavigateToPage(vehicleEventsControl); }
private void OnVehicleEventsClicked(object sender, EventArgs e) { if (serviceLogControl == null) { serviceLogControl = new VehicleEventsControl(); } NavigateToPage(serviceLogControl); }