Beispiel #1
0
 /// <summary>
 /// Recreates the datasource and binds it to the table.
 /// </summary>
 public void ReloadData()
 {
     _data = new QuestionsData(_category);
     _questionsTableSource = new QuestionsTableSource(_data, this);
     TableView.Source      = _questionsTableSource;
     TableView.ReloadData();
 }
 /// <summary>
 /// Recreates the datasource and binds it to the table.
 /// </summary>
 public void ReloadData()
 {
     _data = new QuestionsData(_category);
     _questionsTableSource = new QuestionsTableSource(_data, this);
     TableView.Source = _questionsTableSource;
     TableView.ReloadData();
 }