Example #1
0
        private void BtnSearch_Click(object sender, RoutedEventArgs e)
        {
            wClientesTabela table = new wClientesTabela();

            table.ShowDialog();
            if (table.Cli != null)
            {
                List.SelectedIndex = table.Cli.Id;
            }
        }
Example #2
0
        private void BtnClientes_Click(object sender, RoutedEventArgs e)
        {
            wClientesTabela clientes = new wClientesTabela();

            clientes.ShowDialog();
            if (clientes.Cli != null)
            {
                lbClienteSelecionar.Content = clientes.Cli.Nome;
            }
        }