private async void btn_group_Click(object sender, RoutedEventArgs e)
 {
     if (allowAction)
     {
         var listCheckedContact = GetCheckedContactList_EF();
         BelongToGroup frm = new BelongToGroup(this, listCheckedContact);
         await frm.ShowAsync();
         //btn_delete.IsEnabled = false;
         //btn_group.IsEnabled = false;
     }
 }
        private async void btn_group_Click(object sender, RoutedEventArgs e)
        {
            if (allowAction)
            {
                List<ContactDB> listCheckedContact = GetCheckedContactList();
                BelongToGroup frm = new BelongToGroup(this, listCheckedContact);
                await frm.ShowAsync();

                int count = listview_contacts.Items.Count;
                for (int i = 0; i < count; i++)
                {
                    Object item = listview_contacts.Items[i];
                    if (item is ListViewContactItem)
                    {
                        if (((ListViewContactItem)item).IsCheck)
                        {
                            return;
                        }
                    }
                }

                btn_delete.IsEnabled = false;
                btn_group.IsEnabled = false;
            }
        }