Exemple #1
0
        /// <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();
        }
Exemple #2
0
        public static void ToggleEngine()
        {
            var audioPlayer = MobileServices.Resolve <IAudioService>();

            audioPlayer.ToggleEngine();
        }
Exemple #3
0
        public static void AdjustVolume(double volume)
        {
            var audioPlayer = MobileServices.Resolve <IAudioService>();

            audioPlayer.AdjustVolume(volume);
        }
Exemple #4
0
        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();
        }