Пример #1
0
 private void AddToList(object sender, EventArgs e)
 {
     //Set our Datatable to be the datatable from DataTabelLog
     DataTableToShow = DataTableLog.getInstance().MyDataTable;
 }
Пример #2
0
 public DBViewModel()
 {
     DbCall = new DelegateCommand(Dbcallaction);
     //Subcribe to the event so we can see when the Datatable have been filled in DataTableLog
     DataTableLog.getInstance().DataTableFilled += AddToList;
 }