Exemple #1
0
 public WriteTool()
 {
     InitializeComponent();
     _productsPresenter      = new ProductsPresenter(new ProductsServices());
     _catalogSatPresenter    = new CatalogSatPresenter(new CatalogSatServices());
     producsGrid.ItemsSource = productsList;
 }
Exemple #2
0
 //**************************************************
 //*             FILL DATA ON START
 //**************************************************
 private void InitializeFormWithData()
 {
     _CatalogSatPresenter       = new CatalogSatPresenter(new CatalogSatServices());
     txtClave.PreviewTextInput += txtClave.OnlyNumbersValidationTextBox;
     catalogSatGrid.ItemsSource = catalogSatList;
     catalogSatList.AddRange(_CatalogSatPresenter.GetAllCatalogSat());
     cleanView();
 }