Esempio n. 1
0
 private void Edit_Click(object sender, RoutedEventArgs e)
 {
     if (!(_survey is null))
     {
         Navigated.GoToSurveyPage(_survey);
     }
 }
Esempio n. 2
0
 private void Add_Click(object sender, RoutedEventArgs e)
 {
     if (_category is null)
     {
         MessageBox.Show(LangPages.MBox.MustCreateCat);
         return;
     }
     Navigated.GoToSurveyPage(new Model.Survey()
     {
         CategoryId = _category.Id
     });
 }