コード例 #1
0
        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));
 }