Пример #1
0
        private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
        {
            var ms = new MerchantsService();
            var merchantChecked = (CheckBox)sender;

            ms.UpdateMerchantCheck(merchantChecked.IsChecked, Merchant);
        }
Пример #2
0
        private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e)
        {
            var      ms = new MerchantsService();
            var      merchantChecked = (CheckBox)sender;
            Merchant merchant        = merchantChecked.BindingContext as Merchant;

            ms.UpdateMerchantCheck(merchantChecked.IsChecked, merchant);
        }