コード例 #1
0
        private void MostrarClientesF()
        {
            CN_Clientefacturacion objeccl = new CN_Clientefacturacion();

            DTC.SetBinding(ItemsControl.ItemsSourceProperty, new Binding {
                Source = objeccl.MostrarClienteF()
            });
        }
コード例 #2
0
        private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
        {
            CN_Clientes objetoCN = new CN_Clientes();

            DTC.SetBinding(ItemsControl.ItemsSourceProperty, new Binding {
                Source = objetoCN.BuscarC(txt_BuscaCliente.Text)
            });
        }