private void ListEquipment_Selected(object sender, RoutedEventArgs e) { AnotherListItemSelected(); UpdateTable = null; UpdateTable += UpdateTableEquipment; SPTable.Visibility = Visibility.Visible; Headline.Text = "Игровые системы"; Postgre.LoadEquipmentList(); tTable.ItemsSource = Postgre.Equipments.ToDataTable().DefaultView; btnNew.Click += CreateEquipment; //tTable.MouseLeftButtonUp += MembershipClicked; }
public void UpdateTableEquipment() { Postgre.LoadEquipmentList(); tTable.ItemsSource = Postgre.Equipments.ToDataTable().DefaultView; }