Пример #1
0
 private void OnElementSelected(object sender, ElementSelectedEventArgs e)
 {
     //System.Diagnostics.Debug.WriteLine($"PTable: Element Selected: {e.Element} - {e.SelectionType}");
     switch (e.SelectionType)
     {
     case ElementSelectionType.Click:
     case ElementSelectionType.DoubleClick:
         ElementWindow w = new ElementWindow();
         w.Element = e.Element;
         PositionWindow(0.05, w);
         e.Handled = true;
         w.ShowDialog();
         return;
     }
 }
 private void HandleElementSelected(object sender, ElementSelectedEventArgs e)
 {
     //System.Diagnostics.Debug.WriteLine($"ElementDetailsPane: Element Selected: {e.Element} - {e.SelectionType}");
     _elTimer.Stop();
     Model.Element = e.Element;
 }