Esempio n. 1
0
        private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
        {
            var abs         = new AchievementsService();
            var itemChecked = (CheckBox)sender;

            abs.UpdateAchievementCheck(itemChecked.IsChecked, Achievement);
        }
Esempio n. 2
0
        private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
        {
            var         acs         = new AchievementsService();
            var         itemChecked = (CheckBox)sender;
            Achievement achievement = itemChecked.BindingContext as Achievement;

            acs.UpdateAchievementCheck(itemChecked.IsChecked, achievement);
        }