Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();
            var sample = new Test1Entities();

            sample.Users.Load();
            uxList.ItemsSource      = sample.Users.Local;
            uxContainer.DataContext = user;
        }
Esempio n. 2
0
        public ComboWindow()
        {
            InitializeComponent();

            var sample = new Test1Entities();

            sample.Users.Load();
            //uxComboBox.ItemsSource = sample.Users.Local;
            uxListBox.ItemsSource = sample.Users.Local;
        }