BigRedButtonOfDeath.Android.Activity1.OnCreate C# (CSharp) Method

OnCreate() protected method

protected OnCreate ( Bundle bundle ) : void
bundle Bundle
return void
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);
            
            // Get our button from the layout resource,
            // and attach an event to it
            Button button = FindViewById<Button>(Resource.Id.MyButton);
            button.Click += HostSelect_Click;
            //button.Click += delegate { button.Text = string.Format("{0} clicks!", count++); };
            button = FindViewById<Button>(Resource.Id.btnAbout);
            button.Click += OnAbout;
           

          

            new Controller(this);
        }