Пример #1
0
        public MainScreen()
        {
            var ViewModel = new HotelsGroupViewModel();

            this.BindingContext = ViewModel;
            InitializeComponent();
        }
Пример #2
0
 public Hotels(HotelsGroupViewModel viewModel, ListStores list)
 {
     InitializeComponent();
     this.ViewModel  = viewModel;
     listStore       = list;
     storeTitle.Text = list.store;
     ListProduct();
     CheckList();
     statesPicker.SelectedIndex = 0;
     Unit.SelectedIndex         = 3;
 }
Пример #3
0
 public Hotels(HotelsGroupViewModel viewModel)
 {
     InitializeComponent();
     this.ViewModel = viewModel;
 }