C# Class UserEfficiencyTracker.UserSurveyWindow

Interaction logic for UserSurvey.xaml
Inheritance: System.Windows.Window
Afficher le fichier Open project: sealuzh/PersonalAnalytics

Méthodes publiques

Свойство Type Description
CurrentSurveyEntry UserEfficiencyTracker.Models.SurveyEntry

Méthodes publiques

Méthode Description
UserSurveyWindow ( NeededSurveyWindowData neededData ) : System

Constructor sets previous user survey entry

Private Methods

Méthode Description
IsSurveyFilledOut ( ) : bool

true if the user has at least inserted some tasks

OKButton_Click ( object sender, RoutedEventArgs e ) : void

Participant finishes the survey

PredefinedText_Clicked ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RemoveTaskEntry_Click ( object sender, RoutedEventArgs e ) : void

removes the currently selected task entry from the list

TaskDescription_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

as soon as the user starts typing, the auto completion box shows results additionally, we check if a new empty textbox is needed for additional user input also updates the autocompletion suggestion list shown to the user

UserSurveyWindow_OnClosing ( object sender, CancelEventArgs e ) : void
lbSuggestion_SuggestionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

user selected an item from the suggestion listbox

Method Details

UserSurveyWindow() public méthode

Constructor sets previous user survey entry
public UserSurveyWindow ( NeededSurveyWindowData neededData ) : System
neededData UserEfficiencyTracker.Models.NeededSurveyWindowData
Résultat System

Property Details

CurrentSurveyEntry public_oe property

Property to get the participant's survey entries
public SurveyEntry,UserEfficiencyTracker.Models CurrentSurveyEntry
Résultat UserEfficiencyTracker.Models.SurveyEntry