public MainWindow() { InitializeComponent(); Telemetry.Client.TrackEvent(Telemetry.Events.AppLaunch); // Create just creates the singleton - call Start() to actually get things rolling BandManager.Create(); }
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(); }
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(); }