Esempio n. 1
0
        public EventCollectionView(TeslaCamEventCollection data, MainWindowViewModel mainModel)
        {
            this.model      = new EventCollectionViewModel();
            model.EventData = data;

            this.mainModel   = mainModel;
            this.DataContext = model;
            InitializeComponent();
        }
        public EventCollectionView(TeslaCamEventCollection data, MainWindowViewModel mainModel)
        {
            //string[] trackstream = new string[] { @"C:\Users\Public\Music\Sample Music\sound.wma" };

            this.model      = new EventCollectionViewModel();
            model.EventData = data;

            this.mainModel   = mainModel;
            this.DataContext = model;
            InitializeComponent();

            //InitializeComponent();

            //meThumbnail.Source = new Uri(trackstream[0], UriKind.Absolute);
        }