Esempio n. 1
0
        private static void OnPackagePropertyChanged(DependencyObject dependencyObject,
                                                     DependencyPropertyChangedEventArgs e)
        {
            MQPackagePresenterControl myUserControl = dependencyObject as MQPackagePresenterControl;

            myUserControl.OnCaptionPropertyChanged(e);
        }
Esempio n. 2
0
        private void MQPackagePresenterControl_ButtonClicked(object sender, EventArgs e)
        {
            Debug.WriteLine("Pack clicked");


            if (sender == null || this.CurrentViewModel == null)
            {
                return;
            }
            MQPackagePresenterControl pckPres = sender as MQPackagePresenterControl;

            EasyTracker.GetTracker().SendEvent("ui_action", "play_pack", pckPres.Package.Title, 0);

            this.CurrentViewModel.NavigateToPackagePage(pckPres.Package);
        }