Beispiel #1
0
 public TableSourceSearch(ViewController_StockList owner, string sSearchType)
 {
     //this.models = models;
     //this.modelsSearch = this.models;
     this.owner       = owner;
     search           = owner.searchDisplayController;
     this.sSearchType = sSearchType;
 }
        public void CallStockList(string sRegion)
        {
            ViewController_StockList controller = this.Storyboard.InstantiateViewController("ViewController_StockList") as ViewController_StockList;

            controller.sRegionSelectionData   = sRegion;
            controller.sWorkTypeSelectionData = "";
            controller.sCategorySelectionData = "";
            controller.sKaratSelectionData    = "";
            controller.sIsCloseOut            = this.sIsCloseOut;
            controller.sComingFrom            = "Home";
            controller.objRegion       = objRegion;
            controller.objRegionSearch = objRegionSearch;
            //controller.sRegionSelectionData = "100";
            //controller.sWorkTypeSelectionData = "100";
            //controller.sCategorySelectionData = "100";
            //controller.sKaratSelectionData = "109";

            this.NavigationController.PushViewController(controller, true);
        }
        partial void BtnSearch_TouchUpInside(UIButton sender)
        {
            try
            {
                ViewController_StockList controller = this.Storyboard.InstantiateViewController("ViewController_StockList") as ViewController_StockList;
                controller.sRegionSelectionData   = sRegionSelectionData;
                controller.sWorkTypeSelectionData = sWorkTypeSelectionData;
                controller.sCategorySelectionData = sCategorySelectionData;
                controller.sKaratSelectionData    = sKaratSelectionData;
                controller.sIsCloseOut            = this.sIsCloseOut;
                controller.sComingFrom            = "Search";

                //controller.sRegionSelectionData = "100";
                //controller.sWorkTypeSelectionData = "100";
                //controller.sCategorySelectionData = "100";
                //controller.sKaratSelectionData = "109";

                this.NavigationController.PushViewController(controller, true);
            }
            catch (Exception ex)
            {
                Console.Write(ex.ToString());
            }
        }
Beispiel #4
0
 public TableSource(List <ResultJewelry> models, ViewController_StockList owner)
 {
     this.models = models;
     this.owner  = owner;
 }