public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Button.TouchUpInside         += (sender, e) => ForestPrimesSamples.ShowForestContainerForestPage();
            PantheonForest.TouchUpInside += (sender, e) => PantheonSamples.ShowPantheonContainerForestPage();
            VestaButton.TouchUpInside    += (sender, e) => VestaSamples.ShowVestaContainerVestaPage();
            VestaAltButton.TouchUpInside += (sender, e) => VestaAltSamples.ShowVestaAltContainerVestaPage();
            ForestOvu.TouchUpInside      += (sender, e) => ForestPrimesSamples.ShowForestContainerOvuPage();
        }
示例#2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            CrossWalkthrough.Current.Init(this);

            FindViewById <Button>(Resource.Id.showWalk).Click  += (sender, e) => ForestPrimesSamples.ShowForestContainerForestPage();
            FindViewById <Button>(Resource.Id.showWalk2).Click += (sender, e) => PantheonSamples.ShowPantheonContainerForestPage();
            FindViewById <Button>(Resource.Id.showWalk3).Click += (sender, e) => VestaSamples.ShowVestaContainerVestaPage();
            FindViewById <Button>(Resource.Id.showWalk4).Click += (sender, e) => VestaAltSamples.ShowVestaAltContainerVestaPage();
            FindViewById <Button>(Resource.Id.showWalk5).Click += (sender, e) => ForestPrimesSamples.ShowForestContainerOvuPage();
        }