Пример #1
0
        public MainPage()
        {
            newTimer = new DispatcherTimer();
            newTimer.Interval = TimeSpan.FromTicks(1);
            newTimer.Tick += delegate { clock.Content = counter--; };
            newTimer.Start();

            this.InitializeComponent();

            // Init MobileAppTracker
            MobileAppTracker.Instance.InitializeValues("877", "8c14d6bbe466b65211e781d62e301eec");
            MobileAppTracker.Instance.SetAllowDuplicates(true);
            MobileAppTracker.Instance.SetDebugMode(true);

            MyMATResponse response = new MyMATResponse();
            MobileAppTracker.Instance.SetMATResponse(response);
        }
Пример #2
0
        public MainPage()
        {
            newTimer          = new DispatcherTimer();
            newTimer.Interval = TimeSpan.FromTicks(1);
            newTimer.Tick    += delegate { clock.Content = counter--; };
            newTimer.Start();

            this.InitializeComponent();

            // Init MobileAppTracker
            mat = MobileAppTracker.InitializeValues("877", "8c14d6bbe466b65211e781d62e301eec");
            mat.SetAllowDuplicates(true);
            mat.SetDebugMode(true);

            MyMATResponse response = new MyMATResponse();

            mat.SetMATResponse(response);
        }