Beispiel #1
0
		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);

			CC_AddAdvert.CC_AddAdvert AddAdvert = new CC_AddAdvert.CC_AddAdvert ();

			button.Click += delegate {
				AddAdvert.Test();
			};

			AddAdvert.ActieGebeurtenis += TestActie;
		}
Beispiel #2
0
        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);

            CC_AddAdvert.CC_AddAdvert AddAdvert = new CC_AddAdvert.CC_AddAdvert();

            button.Click += delegate {
                AddAdvert.Test();
            };

            AddAdvert.ActieGebeurtenis += TestActie;
        }