async private void favoriteOkButton_Click(object sender, RoutedEventArgs e)
        {
            string comment = this.commentText.Text.Trim();

            if (comment.Length == 0)
            {
                comment = md;
            }

            //ローカルデータ
            String filePath = "StoreData.txt";
            // write file
            StorageFolder localFolder = ApplicationData.Current.LocalFolder;
            StorageFile   file        = await localFolder.CreateFileAsync(filePath,
                                                                          CreationCollisionOption.OpenIfExists);

//          data = "sampleData/" + (string)attackBox1.SelectedIndex + "/" + (string)attackBox2.SelectedIndex + "/" +
//            (string)attackTechBox.SelectedIndex + "/" + (string)defenseBox1.SelectedIndex + "/" + (string)defenseBox2.SelectedIndex + "\n";
            data = comment + "\t" + defenseBox1.SelectedIndex + "\t" + defenseBox2.SelectedIndex + "\t" + attackTechBox.SelectedIndex + "\t"
                   + attackBox1.SelectedIndex + "\t" + attackBox2.SelectedIndex + "\t" + DateTime.Now + "\n";
            await FileIO.AppendTextAsync(file, data);

            //ローミングデータ

            /*StorageFolder roamingFolder = ApplicationData.Current.LocalFolder;
             * StorageFile sampleFile = await roamingFolder.CreateFileAsync(filePath,
             * CreationCollisionOption.OpenIfExists);
             * await FileIO.AppendTextAsync(sampleFile, data);
             */
            var s1 = new PopulateDatas();

            s1.populateDatas();
            this.Flyout1.Hide();
        }
        private void pageSelectBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            var s1 = new PopulateDatas();

            s1.populateDatas();

            if ((string)pageSelectBox.SelectedItem == sl)
            {
                this.Frame.Navigate(typeof(BasicPage1), data);
            }
        }