示例#1
0
        public App()
        {
            InitializeComponent();

            addViewModel = new AddViewModel();

            addViewModel.ResoreData();

            MainPage = new Page4(addViewModel);
        }
示例#2
0
        public Page4(AddViewModel addViewModel)
        {
            InitializeComponent();

            this.BindingContext = addViewModel;
        }