public MySchedulePage(MyEventEntries _MyEvents, InteractiveSchedulePage _interactiveSchedule = null) { InitializeComponent(); interactiveSchedule = _interactiveSchedule; MyEvents = _MyEvents; this.Padding = GetPagePadding(); lvForEvents = new SchedListView(MyEvents.Events); lvForEvents.ItemSelected += PopUpWithData; refresh(); }
public InteractiveSchedulePage(EventEntriesMain _MainEvents, MyEventEntries _MyEvents, MySchedulePage _mySchedule = null) { InitializeComponent(); mySchudule = _mySchedule; this.Padding = GetPagePadding(); MyEvents = _MyEvents; MainEvents = _MainEvents; LoadingText = new Label(); LoadingText.FontSize = 20; LoadingText.HorizontalOptions = LayoutOptions.Center; LoadingText.VerticalOptions = LayoutOptions.Center; LoadingText.HorizontalTextAlignment = TextAlignment.Center; LoadingText.FontAttributes = FontAttributes.Italic; LoadingText.Text = "Loading Database..."; this.Content = LoadingText; lvForEvents = new SchedListView(MainEvents.Events); lvForEvents.ItemSelected += PopUpWithData; }