Пример #1
0
        private void ListClients_Selected(object sender, RoutedEventArgs e)
        {
            AnotherListItemSelected();

            UpdateTable  = null;
            UpdateTable += UpdateTableClients;

            SPTable.Visibility = Visibility.Visible;
            Headline.Text      = "Клиенты";
            Postgre.LoadClientsList();
            tTable.ItemsSource = Postgre.ClientsInfo.ToDataTable(true).DefaultView;
            btnNew.Click      += CreateNewClient;
            //tTable.MouseDoubleClick += ClientClicked;
        }
Пример #2
0
 public void UpdateTableClients()
 {
     Postgre.LoadClientsList();
     tTable.ItemsSource = Postgre.ClientsInfo.ToDataTable(false).DefaultView;
 }