Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }