Example #1
0
 public MainViewInboxUc()
 {
     this.InitializeComponent();
     _compositor          = ElementCompositionPreview.GetElementVisual(this).Compositor;
     _refreshButtonVisual = RefreshButton.GetVisual();
     Current          = this;
     DataContext      = InboxVM;
     Loaded          += InboxViewLoaded;
     InboxVM.Updated += InboxVM_Updated;
 }
Example #2
0
 public MainViewInboxUc()
 {
     this.InitializeComponent();
     _compositor          = ElementCompositionPreview.GetElementVisual(this).Compositor;
     _refreshButtonVisual = RefreshButton.GetVisual();
     Current     = this;
     DataContext = InboxVM;
     Loaded     += InboxViewLoaded;
     //Timer.Interval = TimeSpan.FromSeconds(30);
     //Timer.Tick += TimerTick;
     InboxVM.Updated += InboxVM_Updated;
 }