コード例 #1
0
ファイル: SettingPage.xaml.cs プロジェクト: WereDouglas/wimea
        private void update(string objects, string dates, string users)
        {
            try
            {
                //Update(string objects, string dates, string users)
                _syncs = App.WimeaApp.Syncs.Add();
                _syncs.Update(objects, dates, users);

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }

        }
コード例 #2
0
ファイル: SettingPage.xaml.cs プロジェクト: WereDouglas/wimea
 private void save(string objects, string dates, string users)
 {
     try
     {
         _syncs = App.WimeaApp.Syncs.Add();
         _syncs.Objects = objects;
         _syncs.Dates = dates;
         _syncs.Users = users;
         _syncs.Save();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }