public TreattheInfantGuideTreatmentPage(TreatTitle title)
        {
            InitializeComponent();

            this.Title = title.title;

            var contentPage = new NavigationPage(new TreatTitleContentPage(title.guide));

            contentPage.Title = "Guide";

            var treatmentsPage = new NavigationPage(new TreatTitleTreatmentsPage(title.id));

            treatmentsPage.Title = "Treatment";

            Children.Add(contentPage);
            Children.Add(treatmentsPage);
        }
예제 #2
0
 //TreatTitle table
 public Task <int> saveTreatTitle(TreatTitle treatTitle)
 {
     return(database.InsertAsync(treatTitle));
 }