private void gridAPILog_RecordMouseDoubleClick(object sender, RoutedEventArgs e) { if (m_InProcess == false && CUtility.IsDataRecord(sender)) { btnDetails.PerformClick(); } }