Пример #1
0
        private async void abb_novoContato_Click(object sender, RoutedEventArgs e)
        {
            ContaContatoEditContentDialog cc = new ContaContatoEditContentDialog();

            cc.SalvaContatoHandler += Cc_SalvaContatoHandler;
            await cc.ShowAsync();
        }
Пример #2
0
        private async void lv_contatos_ItemClick(object sender, ItemClickEventArgs e)
        {
            var contaContato = e.ClickedItem as ContaContatoViewModel;
            ContaContatoEditContentDialog cc = new ContaContatoEditContentDialog(contaContato, true);

            cc.SalvaContatoHandler += Cc_SalvaContatoHandler;
            await cc.ShowAsync();
        }