Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txt_search_Product = ((inventory.Controls.AutoCompleteTextBox)(target));
                return;

            case 2:
                this.Categorylst = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.grdProduct = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txt_search_Product = ((inventory.Controls.AutoCompleteTextBox)(target));
     return;
     case 2:
     this.Categorylst = ((System.Windows.Controls.ListView)(target));
     return;
     case 3:
     this.grdProduct = ((System.Windows.Controls.GridView)(target));
     return;
     }
     this._contentLoaded = true;
 }