Exemplo n.º 1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();


            //System.Diagnostics.Debug.WriteLine(Windows.);

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
            //System.Diagnostics.Debug.WriteLine(Package.Current.DisplayName);
            System.Diagnostics.Debug.WriteLine(Package.Current.Id.Name);
            System.Diagnostics.Debug.WriteLine(Package.Current.Id.Version);
            //System.Diagnostics.Debug.WriteLine(Package.Current.InstalledDate);
            //System.Diagnostics.Debug.WriteLine(Package.Current.IsDevelopmentMode);
            Windows.Devices.Input.KeyboardCapabilities kc = new Windows.Devices.Input.KeyboardCapabilities();
            System.Diagnostics.Debug.WriteLine(kc.KeyboardPresent);

            InTheHand.Security.ExchangeActivesyncProvisioning.EasClientDeviceInformation di = new InTheHand.Security.ExchangeActivesyncProvisioning.EasClientDeviceInformation();

            System.Diagnostics.Debug.WriteLine(di.Id);
            //InTheHand.UI.ApplicationSettings.SettingsPane.GetForCurrentView().CommandsRequested += MainPage_CommandsRequested;
            this.Loaded += MainPage_Loaded;
        }
Exemplo n.º 2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();


            //System.Diagnostics.Debug.WriteLine(Windows.);

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
            //System.Diagnostics.Debug.WriteLine(Package.Current.DisplayName);
            System.Diagnostics.Debug.WriteLine(Package.Current.Id.Name);
            System.Diagnostics.Debug.WriteLine(Package.Current.Id.Version);
            //System.Diagnostics.Debug.WriteLine(Package.Current.InstalledDate);
            //System.Diagnostics.Debug.WriteLine(Package.Current.IsDevelopmentMode);
            Windows.Devices.Input.KeyboardCapabilities kc = new Windows.Devices.Input.KeyboardCapabilities();
            System.Diagnostics.Debug.WriteLine(kc.KeyboardPresent);

            InTheHand.Security.ExchangeActivesyncProvisioning.EasClientDeviceInformation di = new InTheHand.Security.ExchangeActivesyncProvisioning.EasClientDeviceInformation();

            System.Diagnostics.Debug.WriteLine(di.Id);
            //InTheHand.UI.ApplicationSettings.SettingsPane.GetForCurrentView().CommandsRequested += MainPage_CommandsRequested;
            this.Loaded += MainPage_Loaded;
        }