/// <summary> /// Initializes the singleton Application object. This is the first line of authored code /// executed, and as such is the logical equivalent of main() or WinMain(). /// </summary> public App() { InitializeComponent(); Suspending += OnSuspending; MobileServices = new MobileServices(); RepositoryServices = new RepositoryServices(); }
public static void ToggleEngine() { var audioPlayer = MobileServices.Resolve <IAudioService>(); audioPlayer.ToggleEngine(); }
public static void AdjustVolume(double volume) { var audioPlayer = MobileServices.Resolve <IAudioService>(); audioPlayer.AdjustVolume(volume); }
void client_getMobileCodeInfoCompleted(object sender, MobileServices.getMobileCodeInfoCompletedEventArgs e) { string resault = e.Result as string; Location = StringFormat(resault); isoManager.WriteFile(_mobileNumber.Substring(0, 7), Location); logoUpdate(); }