Exemplo n.º 1
0
        private static void OnSelectedItemsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MultiSelectComboBox control = (MultiSelectComboBox)d;

            control.SelectNodes();
            control.SetText();
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\frmrptPartNos.xaml"
                ((ProcessDesigner.frmrptPartNos)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ltbCustomer = ((ProcessDesigner.UserControls.ComboBoxWithSearch)(target));
                return;

            case 3:
                this.ltbSFLPartNumber = ((ProcessDesigner.UserControls.ComboBoxWithSearch)(target));
                return;

            case 4:
                this.MC = ((ProcessDesigner.UserControls.MultiSelectComboBox)(target));
                return;

            case 5:
                this.txtQUALITY = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.ltbPGCategory = ((ProcessDesigner.UserControls.ComboBoxWithSearch)(target));
                return;

            case 7:
                this.txtPartDesc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.Refresh = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.DataGridResult = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        private static void OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MultiSelectComboBox control = (MultiSelectComboBox)d;

            control.DisplayInControl();
        }