C# 클래스 UserEfficiencyTracker.UserSurveyWindow

Interaction logic for UserSurvey.xaml
상속: System.Windows.Window
파일 보기 프로젝트 열기: sealuzh/PersonalAnalytics

공개 프로퍼티들

프로퍼티 타입 설명
CurrentSurveyEntry UserEfficiencyTracker.Models.SurveyEntry

공개 메소드들

메소드 설명
UserSurveyWindow ( NeededSurveyWindowData neededData ) : System

Constructor sets previous user survey entry

비공개 메소드들

메소드 설명
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

메소드 상세

UserSurveyWindow() 공개 메소드

Constructor sets previous user survey entry
public UserSurveyWindow ( NeededSurveyWindowData neededData ) : System
neededData UserEfficiencyTracker.Models.NeededSurveyWindowData
리턴 System

프로퍼티 상세

CurrentSurveyEntry 공개적으로 프로퍼티

Property to get the participant's survey entries
public SurveyEntry,UserEfficiencyTracker.Models CurrentSurveyEntry
리턴 UserEfficiencyTracker.Models.SurveyEntry