示例#1
0
        public MainWindow()
        {
            InitializeComponent();

            Telemetry.Client.TrackEvent(Telemetry.Events.AppLaunch);

            // Create just creates the singleton - call Start() to actually get things rolling
            BandManager.Create();
        }
示例#2
0
        public MainWindow()
        {
            InitializeComponent();

            Telemetry.TrackEvent(TelemetryCategory.General, Telemetry.TelemetryEvent.AppLaunch, Settings.Current.Device);

            // Create just creates the singleton - call Start() to actually get things rolling
            BandManager.Create();
        }
示例#3
0
        public MainWindow()
        {
            InitializeComponent();

            Telemetry.TrackEvent(TelemetryCategory.General, Telemetry.TelemetryEvent.AppLaunch, Settings.Current.Device);

            string message = null;

            if (!BandManager.CanRun(ref message))
            {
                MessageBox.Show(message, "unBand Startup Error", MessageBoxButton.OK, MessageBoxImage.Exclamation);

                Application.Current.Shutdown();

                return;
            }

            // Create just creates the singleton - call Start() to actually get things rolling
            BandManager.Create();
        }