Exemplo n.º 1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Create your application here
            SetContentView(Resource.Layout.FormContentPresenter);

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

            name = (string)this.Intent.Extras.Get("name");

            //iOS:			Navigation Bar TITLE
            // Android:		Activity Label
            this.Title = name;

            //TEXT BOX - textBoxContent
            //	textBoxContent
            textBoxContent.Text =
                "path_combined = " + "android path_combined?!?!!"
                + System.Environment.NewLine +
                ControllerPersonOperations.LoadFileTextual(name)
            ;

            return;
        }
Exemplo n.º 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            // Perform any additional setup after loading the view, typically from a nib.

            //Navigation Bar TITLE
            contentTitle.Title =
                "path = " + NSBundle.MainBundle.BundlePath
                + Environment.NewLine +
                name
            ;

            //TEXT BOX - textBoxContent
            //	textBoxContent
            textBoxContent.Text = ControllerPersonOperations.LoadFileTextual(name);

            return;
        }