Пример #1
0
        private static void OnSelectedItemsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MultiSelectComboBoxPacienteView control = (MultiSelectComboBoxPacienteView)d;

            control.SelectNodes();
            control.SetText();
        }
Пример #2
0
        private static void OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MultiSelectComboBoxPacienteView control = (MultiSelectComboBoxPacienteView)d;

            control.DisplayInControl();
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.m_MyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.MC = ((UPC.HRNPCI.DesktopApplication.Views.Pacinete.MultiSelectComboBoxPacienteView)(target));
     return;
     case 3:
     this.txtBuscar = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.GridViewColumnsPaciente = ((System.Windows.Controls.GridView)(target));
     return;
     }
     this._contentLoaded = true;
 }