/* * Send customer info to the control on row double click */ private void DataGridRow_MouseDoubleClick(object sender, MouseButtonEventArgs e) { listControl.UpdateGraph((Customer)CustomerGrid.SelectedItem); }
/* * Send customer info to the control on row select */ private void CustomerGrid_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { listControl.UpdateGraph((Customer)CustomerGrid.SelectedItem); }