Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((VMS.Client.TrackingSystem.UserControls.ButtonFindSearch)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.btnFind = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.imgFind = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.cmbFullName = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.cmbItemUserName = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.cmbItemPermission = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.cmbItemFullName = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((VMS.Client.TrackingSystem.UserControls.ButtonFindSearch)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btnFind = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.imgFind = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.cmbFullName = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.cmbItemUserName = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 7:
     this.cmbItemPermission = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 8:
     this.cmbItemFullName = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     }
     this._contentLoaded = true;
 }