Exemplo n.º 1
0
        public CustomerViewModel()
        {
            // create a DeleteCommand instance
            this.DeleteCommand = new DelegateCommand(ExecuteDeleteCommand);

            // Get data source
            Customers = InitializeSampleData.GetData();
        }
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     ViewModel.Customers2 = InitializeSampleData.GetData();
 }