private async void AddChat_mfoi_Click(object sender, RoutedEventArgs e) { AddChatDialog dialog = new AddChatDialog(); await UiUtils.ShowDialogAsync(dialog); await VIEW_MODEL.OnAddChatAsync(dialog.VIEW_MODEL.MODEL); }
private async void addChat_mfoi_Click(object sender, RoutedEventArgs e) { AddChatDialog dialog = new AddChatDialog(); await UiUtils.showDialogAsyncQueue(dialog); if (!dialog.cancled) { await addChatAsync(dialog.client, dialog.jabberId, dialog.addToRoster, dialog.requestSubscription); } }
private void Btadd_Click(object sender, RoutedEventArgs e) { AddChatDialog dialog = new AddChatDialog(); dialog.ShowDialog(); }