Пример #1
0
        public Page_Result()
        {
            this.InitializeComponent();

            if (CreateQAList.listQA.Count == 0)
            {
                CreateQAList.createQAListAsync();
            }

            gvSearch.ItemsSource = CreateQAList.listResult;
        }
Пример #2
0
        public Page_QAView()
        {
            this.InitializeComponent();

            if (CreateQAList.listQA.Count == 0)
            {
                Task.Run(() => CreateQAList.createQAListAsync()).Wait();
            }

            gvQA.ItemsSource = CreateQAList.listQA;
        }
Пример #3
0
 public Page_FavoriteView()
 {
     this.InitializeComponent();
     CreateQAList.listQAFavorite.Clear();
     gvFavorite.ItemsSource = CreateQAList.CreateQAFavorite();
 }