예제 #1
0
        public NavigateDataView()
        {
            InitializeComponent();
            mStore = new ProductStore();

            ICollection<Product> products = mStore.GetAll();
            this.DataContext = products;

            view = (ListCollectionView)CollectionViewSource.GetDefaultView(this.DataContext);
            view.CurrentChanged += new EventHandler(view_CurrentChanged);

            lstProducts.ItemsSource = products;
        }
예제 #2
0
 public DataTemplateList4()
 {
     InitializeComponent();
     mStore = new ProductStore();
 }
예제 #3
0
 public ListBoxWindow()
 {
     InitializeComponent();
     mStore = new ProductStore();
 }
예제 #4
0
 public ListViewGridBase()
 {
     InitializeComponent();
     mStore = new ProductStore();
 }
예제 #5
0
 public FilterCollection()
 {
     InitializeComponent();
     mStore = new ProductStore();
 }
예제 #6
0
 public DataTemplateList5()
 {
     InitializeComponent();
     mStore = new ProductStore();
     lstProducts.ItemsSource = mStore.GetAll();
 }
예제 #7
0
 public ListViewDataGrid()
 {
     InitializeComponent();
     mStore = new ProductStore();
 }
예제 #8
0
 public ListViewTreeView()
 {
     InitializeComponent();
     mStore = new ProductStore();
 }
예제 #9
0
        public ProductRad()
        {
            InitializeComponent();

            mStore = new ProductStore();
        }