예제 #1
0
        public Result(Data.Profile profile)
        {
            InitializeComponent();

            this._profile = profile;

            var vm = new Cars.VModel();

            this.BindingContext = vm;
        }
예제 #2
0
        public Main()
        {
            InitializeComponent();

            var vm = new Cars.VModel();

            this.BindingContext = vm;

            vm.PropertyChanged += Vm_PropertyChanged;

            this.cboBrand.SelectedIndexChanged += CboBrand_SelectedIndexChanged;
            this.cboModel.SelectedIndexChanged += CboModel_SelectedIndexChanged;

            vm.GetProvinces();
            vm.GetMakes();
        }