//Fast Call To Number private void dgvCallHistory_MouseDoubleClick(object sender, MouseButtonEventArgs e) { CallHistoryCell item = dgvCallHistory.SelectedItem as CallHistoryCell; if (item != null) { CallTo(item.phone); } }
private void dgvCallHistory_MenuCallToClick(object sender, RoutedEventArgs e) { CallHistoryCell item = dgvCallHistory.SelectedItem as CallHistoryCell; if (item != null) { txtPhoneNumber.Text = item.phone; CallTo(item.phone); } }
// show short info window private void dgvCallHistory_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { CallHistoryCell item = dgvCallHistory.SelectedItem as CallHistoryCell; }