示例#1
0
        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
 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());
     }
 }