public MainQuestion(AdditionalQuestion additionalQuestion, ToastViewModel toastViewModel, LoadingAnimation loadingAnimation, EventVO currentEvent) { InitializeComponent(); //azureDatabase = new AzureDatabase(); //Manual xaml 매뉴얼 this.simpleManualGrid.Children.Add(simpleManual); this.standardManualGrid.Children.Add(standardManual); this.additionalQuestion = additionalQuestion; this.toastViewModel = toastViewModel; this.loadingAnimation = loadingAnimation; this.currentEvent = currentEvent; mainColorSolidColorBrush = (SolidColorBrush)(new BrushConverter().ConvertFrom("#FF3580BF")); pointColorSolidColorBrush = (SolidColorBrush)(new BrushConverter().ConvertFrom("#FFFF5E00")); }
public AdditionalQuestion(ToastViewModel toastViewModel, LoadingAnimation loadingAnimation, EventVO currentEvent) { InitializeComponent(); this.classifiedManualGrid.Children.Add(classifiedManual); this.medicalManualGrid.Children.Add(medicalManual); this.toastViewModel = toastViewModel; this.loadingAnimation = loadingAnimation; this.currentEvent = currentEvent; firstQuestion.Content = currentEvent.EventFirstQUESTION; secondQuestion.Content = currentEvent.EventSecondQUESTION; thirdQuestion.Content = currentEvent.EventThirdQUESTION; fourthQuestion.Content = currentEvent.EventFourthUESTION; fifthQuestion.Content = currentEvent.EventFifthQUESTION; sixthQuestion.Content = currentEvent.EventSixthQUESTION; seventhQuestion.Content = currentEvent.EventSeventhQUESTION; eighthQuestion.Content = currentEvent.EventEighthQUESTION; mainColorSolidColorBrush = (SolidColorBrush)(new BrushConverter().ConvertFrom("#FF3580BF")); pointColorSolidColorBrush = (SolidColorBrush)(new BrushConverter().ConvertFrom("#FFFF5E00")); }