public CadCores() { InitializeComponent(); controller = new CoresController(); txDescricao.Focus(); }
private void Pesquisar() { List <Cores> cores = new CoresController().Search(txPesquisa.Text); dataGrid.ItemsSource = cores; }
public CadCores() { InitializeComponent(); controller = new CoresController(); txDescricao.Focus(); }
private void Pesquisar() { List <Cores> cores = new CoresController().Search(txPesquisa.Text); dataGrid.ItemsSource = cores; }