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;
        }
Ejemplo n.º 3
0
        public override void EndInit()
        {
            base.EndInit();
            uxContainer.DataContext = user;
            var sample = new SampleEntities();

            sample.Users.Load();
            uxList.ItemsSource = sample.Users.Local;
        }
Ejemplo n.º 4
0
        public MainWindow()
        {
            InitializeComponent();
            uxSubmit.IsEnabled      = false;
            uxContainer.DataContext = user;
            var sample = new SampleEntities();

            sample.Users.Load();
            uxList.ItemsSource = sample.Users.Local;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 6
0
        public MainWindow()
        {
            InitializeComponent();
            DisableOrEnableSubmit();

            var sample = new SampleEntities();

            sample.Users.Load();

            uxList.ItemsSource = sample.Users.Local;
            //WindowState = WindowState.Maximized;
        }
Ejemplo n.º 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;
        }