コード例 #1
0
        public MainCalculatorPage()
        {
            InitializeComponent();

            BindingContext = new MainCalculatorViewModel();

            ((MainCalculatorViewModel)BindingContext).Init();
        }
 public void Setup()
 {
     _viewModel = new MainCalculatorViewModel();
     _viewModel.Init();
 }