public ComboWindow()
 {
     InitializeComponent();
     var sample = new SampleEntities();
     sample.Users.Load();
     uxListBox.ItemsSource = sample.Users.Local;
 }
        public override void EndInit()
        {
            base.EndInit();

            var sample = new SampleEntities();

            sample.Users.Load();
            uxList.ItemsSource = sample.Users.Local;
        }
Пример #3
0
        public override void EndInit()
        {
            base.EndInit();
            uxContainer.DataContext = user;
            var sample = new SampleEntities();

            sample.Users.Load();
            uxList.ItemsSource = sample.Users.Local;
        }
Пример #4
0
        public MainWindow()
        {
            InitializeComponent();
            uxSubmit.IsEnabled      = false;
            uxContainer.DataContext = user;
            var sample = new SampleEntities();

            sample.Users.Load();
            uxList.ItemsSource = sample.Users.Local;
        }
Пример #5
0
        public override void EndInit()
        {
            base.EndInit();

            //information for user comes from entity framework
            var sample = new SampleEntities();

            sample.Users.Load();

            uxList.ItemsSource = sample.Users.Local;
        }
Пример #6
0
        public MainWindow()
        {
            InitializeComponent();
            DisableOrEnableSubmit();

            var sample = new SampleEntities();

            sample.Users.Load();

            uxList.ItemsSource = sample.Users.Local;
            //WindowState = WindowState.Maximized;
        }
Пример #7
0
        public MainWindow()
        {
            InitializeComponent();
            //uxName.DataContext = user;
            //uxNameError.DataContext = user;

            var sample = new SampleEntities();

            sample.Users.Load();

            uxList.ItemsSource = sample.Users.Local;


            uxContainer.DataContext = user;

            //WindowState = WindowState.Maximized;
        }