示例#1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.Transfers_SecondScreen);

            Presenter = MainApplication.Resolve <ITransfersPresenter>();
            SetHeader();
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.Transfers_FirstScreen);

            Presenter = MainApplication.Resolve <ITransfersPresenter>();

            Button btnSiguiente = FindViewById <Button>(Resource.Id.btnSiguiente);

            txtNombre = FindViewById <EditText>(Resource.Id.txtNombre);

            btnSiguiente.Click += (object sender, EventArgs e) =>
            {
                Presenter.Click(txtNombre.Text);
            };
        }