示例#1
0
        public MainPage()
        {
            InitializeComponent();
            pb = new PostEventHub();
            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();

            if (!Accelerometer.IsSupported || !Gyroscope.IsSupported)
            {
                MessageBox.Show("device does not support accelerometer or gyroscope!");
            }
        }
示例#2
0
 public MotionPage()
 {
     InitializeComponent();
     pb1 = new PostEventHub();
 }