/// <summary> /// The main TabbedPage which has four ContentPages /// </summary> public MainTabbedPage() { NavigationPage.SetHasNavigationBar(this, false); #if ALARM_XAML // Alarm Xaml Page alarmXaml = (Clock.Pages.AlarmListPage)AlarmXamlPageController.GetInstance(TizenClock.Tizen.AlarmXaml.Pages.AlarmPages.ListPageXaml); Children.Add(alarmXaml); #else // Alarm Page alarm = (AlarmListPage)AlarmPageController.GetInstance(AlarmPages.ListPage); Children.Add(alarm); #endif // World clock Page wolrdclock = WorldclockPage.GetInstance(); Children.Add(wolrdclock); // Stopwatch Page stopwatch = new Stopwatch.StopwatchPage(); Children.Add(stopwatch); // Timer Page timer = new Timer.TimerPage(); Children.Add(timer); CurrentPageChanged += MainTabbedPage_CurrentPageChanged; }
public App() { InitializeComponent(); MainPage = new TimerPage(); }