public LotteriesPage()
        {
            InitializeComponent();
            _lotteriesViewModel = App.Locator.LotteriesPage;
            Lotteries           = _lotteriesViewModel.Lotteries;

            GenerateContent();
        }
Exemplo n.º 2
0
 public NumberSetPage(NumberSet numberSet, bool editMode)
 {
     InitializeComponent();
     _numberSetViewModel           = App.Locator.NumberSetPage;
     _lotteriesViewModel           = App.Locator.LotteriesPage;
     BindingContext                = _numberSetViewModel;
     _numberSetViewModel.NumberSet = numberSet;
     _numberSetViewModel.EditMode  = editMode;
     GenerateContent(editMode);
 }