コード例 #1
0
ファイル: FlyPage.g.i.cs プロジェクト: GroM/SDK
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///FlyPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            MessagesSource = (global::Windows.UI.Xaml.Data.CollectionViewSource)this.FindName("MessagesSource");
            arDroneMediaElem = (global::Windows.UI.Xaml.Controls.MediaElement)this.FindName("arDroneMediaElem");
            MessagesListView = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("MessagesListView");
            JoystickGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("JoystickGrid");
            TakeOffLandButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("TakeOffLandButton");
            AltitudeSlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("AltitudeSlider");
            AltitudeValue = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("AltitudeValue");
            YawSlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("YawSlider");
            YawValue = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("YawValue");
            PitchSlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("PitchSlider");
            PitchValue = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("PitchValue");
            RollSlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("RollSlider");
            RollValue = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("RollValue");
            YawGazJoystick = (global::ARDrone2Client.Windows.Input.JoystickControl)this.FindName("YawGazJoystick");
            RollPitchJoystick = (global::ARDrone2Client.Windows.Input.JoystickControl)this.FindName("RollPitchJoystick");
            ResetEmergency = (global::Windows.UI.Xaml.Controls.Button)this.FindName("ResetEmergency");
            ConfigurationButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("ConfigurationButton");
            SwitchVideoChannelButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("SwitchVideoChannelButton");
            IndoorOutdoorButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("IndoorOutdoorButton");
            DroneBattery = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("DroneBattery");
            DroneStatus = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("DroneStatus");
        }
コード例 #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///FlyPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            MessagesSource            = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("MessagesSource");
            arDroneMediaElem          = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("arDroneMediaElem");
            ControlMap                = (global::Bing.Maps.Map) this.FindName("ControlMap");
            MessagesListView          = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("MessagesListView");
            JoystickGrid              = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("JoystickGrid");
            TakeOffLandButton         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("TakeOffLandButton");
            AltitudeSlider            = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("AltitudeSlider");
            AltitudeValue             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("AltitudeValue");
            YawSlider                 = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("YawSlider");
            YawValue                  = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("YawValue");
            PitchSlider               = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("PitchSlider");
            PitchValue                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("PitchValue");
            RollSlider                = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("RollSlider");
            RollValue                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("RollValue");
            YawGazJoystick            = (global::ARDrone2Client.Windows.Input.JoystickControl) this.FindName("YawGazJoystick");
            RollPitchJoystick         = (global::ARDrone2Client.Windows.Input.JoystickControl) this.FindName("RollPitchJoystick");
            PlayAnimationButton       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("PlayAnimationButton");
            PlayLedAnimationButton    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("PlayLedAnimationButton");
            StartVideoRecordingButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("StartVideoRecordingButton");
            StopVideoRecordingButton  = (global::Windows.UI.Xaml.Controls.Button) this.FindName("StopVideoRecordingButton");
            TakePictureButton         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("TakePictureButton");
            ResetEmergencyButton      = (global::Windows.UI.Xaml.Controls.Button) this.FindName("ResetEmergencyButton");
            ConfigurationButton       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("ConfigurationButton");
            IndoorOutdoorButton       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("IndoorOutdoorButton");
            SwitchVideoChannelButton  = (global::Windows.UI.Xaml.Controls.Button) this.FindName("SwitchVideoChannelButton");
            DroneBattery              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("DroneBattery");
            DroneStatus               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("DroneStatus");
        }