public PSAddHours(object p) { InitializeComponent(); pep = (Person)p; HoursListBox.ItemsSource = pep.AllHours; }