private void LSTVWchat_ItemClick(object sender, ItemClickEventArgs e) { CHATdetail.Show(e.ClickedItem as ChatListInfo); if (VSGchat.CurrentState == narrow) { UpdateVisualState(narrow, null); } }
private async void BTNadd_Click(object sender, RoutedEventArgs e) { ContentDialogResult res = await DLGchat.ShowAsync(); if (res != ContentDialogResult.Primary) { return; } if (chatTo == "") { return; } CHATdetail.Show(chatTo); if (VSGchat.CurrentState == narrow) { UpdateVisualState(narrow, null); } }