Exemplo n.º 1
0
        public CreateQuestionnaire(User user = null)
        {
            InitializeComponent();
            InitData(user);

            userAge       = new UserAge();
            questionnaire = new Questionnaire();
            WRegions      = new Regions();
            LRegions      = new Regions();

            this.questionnaire.user = user;
            CAge.ItemsSource        = userAge.Age;

            WRegions.AddRegionTypeAll();
            WRegion.ItemsSource = WRegions.regions;
            LRegion.ItemsSource = LRegions.regions;
        }