Пример #1
0
 internal WpfCustomControl(FrameworkElement elem, System.Windows.Forms.Control host)
 {
     m_Elem = elem;
     m_Elem.DataContextChanged += OnDataContextChanged;
     m_Host = host;
     m_KeystrokePropagator = new WpfControlKeystrokePropagator(elem);
 }
Пример #2
0
 internal WpfCustomControl(FrameworkElement elem)
 {
     m_Elem = elem;
     m_KeystrokePropagator = new WpfControlKeystrokePropagator(elem);
 }